1
0
Fork 0

um: Include sys/uio.h to have writev()

sys/uio.h gives us writev(), otherwise the build might fail on
some systems.

Fixes: 49da7e64f3 ("High Performance UML Vector Network Driver")
Signed-off-by: Richard Weinberger <richard@nod.at>
hifive-unleashed-5.1
Richard Weinberger 2018-10-30 12:58:11 +01:00
parent 0d76433c22
commit 0053102a86
1 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@
#include <stdlib.h>
#include <os.h>
#include <um_malloc.h>
#include <sys/uio.h>
#include "vector_user.h"
#define ID_GRE 0