summaryrefslogtreecommitdiff
path: root/arch/um
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-12-27 10:33:24 +0300
committerRichard Weinberger <richard@nod.at>2018-12-28 00:48:35 +0300
commitb9794231737ab8c8a3a225b50aa168c4c7f9b9ec (patch)
tree2b515710e13a9dde9a9c9a976da27409780ce08f /arch/um
parent9de74842ee20b425d227ab66d865d5ec908fbc2c (diff)
downloadlinux-b9794231737ab8c8a3a225b50aa168c4c7f9b9ec.tar.xz
um: writev needs <sys/uio.h>
vector_user.c doesn't compile without this for me. Signed-off-by: Christoph Hellwig <hch@lst.de> 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 07dc8904510b..d2c17dd74620 100644
--- a/arch/um/drivers/vector_user.c
+++ b/arch/um/drivers/vector_user.c
@@ -25,6 +25,7 @@
#include <linux/if_packet.h>
#include <sys/socket.h>
#include <sys/wait.h>
+#include <sys/uio.h>
#include <linux/virtio_net.h>
#include <netdb.h>
#include <stdlib.h>