]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
um: Include sys/uio.h to have writev()
authorRichard Weinberger <richard@nod.at>
Tue, 30 Oct 2018 11:58:11 +0000 (12:58 +0100)
committerRichard Weinberger <richard@nod.at>
Thu, 27 Dec 2018 21:48:19 +0000 (22:48 +0100)
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>
arch/um/drivers/vector_user.c

index 3d8cdbdb4e661988df125b9cdb68d906fb1312a6..07dc8904510b37845f845d41ef23b4341b08e2de 100644 (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