]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Dec 2019 08:20:52 +0000 (09:20 +0100)
[ Upstream commit 0053102a869f1b909904b1b85ac282e2744deaab ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/um/drivers/vector_user.c

index 4d6a78e31089f6c12f94bddbf9a53f85bf8d0401..00c4c2735a5f7069f092de80bd73865e73510657 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