diff options
author | Richard Weinberger <richard@nod.at> | 2018-10-30 14:58:11 +0300 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2018-12-28 00:48:19 +0300 |
commit | 0053102a869f1b909904b1b85ac282e2744deaab (patch) | |
tree | 9ca7cdaa9137c36245c3c2a390070035b891276f /arch/um/drivers | |
parent | 0d76433c220391672848f2c0607f86f79d5e1a38 (diff) | |
download | linux-0053102a869f1b909904b1b85ac282e2744deaab.tar.xz |
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/drivers')
-rw-r--r-- | arch/um/drivers/vector_user.c | 1 |
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 |