aboutsummaryrefslogtreecommitdiff
path: root/arch/um
diff options
context:
space:
mode:
authorRichard Weinberger2018-10-30 12:58:11 +0100
committerRichard Weinberger2018-12-27 22:48:19 +0100
commit0053102a869f1b909904b1b85ac282e2744deaab (patch)
tree9ca7cdaa9137c36245c3c2a390070035b891276f /arch/um
parent0d76433c220391672848f2c0607f86f79d5e1a38 (diff)
um: Include sys/uio.h to have writev()
sys/uio.h gives us writev(), otherwise the build might fail on some systems. Fixes: 49da7e64f33e ("High Performance UML Vector Network Driver") Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um')
-rw-r--r--arch/um/drivers/vector_user.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/um/drivers/vector_user.c b/arch/um/drivers/vector_user.c
index 3d8cdbdb4e66..07dc8904510b 100644
--- a/arch/um/drivers/vector_user.c
+++ b/arch/um/drivers/vector_user.c
@@ -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