diff options
author | Richard Weinberger <richard@nod.at> | 2018-10-30 12:58:11 +0100 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2018-12-27 22:48:19 +0100 |
commit | 0053102a869f1b909904b1b85ac282e2744deaab (patch) | |
tree | 9ca7cdaa9137c36245c3c2a390070035b891276f /arch | |
parent | um: Add HAVE_DEBUG_BUGVERBOSE (diff) | |
download | linux-0053102a869f1b909904b1b85ac282e2744deaab.tar.xz linux-0053102a869f1b909904b1b85ac282e2744deaab.zip |
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')
-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 |