[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20181227073324.10090-1-hch@lst.de>
Date: Thu, 27 Dec 2018 08:33:24 +0100
From: Christoph Hellwig <hch@....de>
To: richard@....at
Cc: linux-um@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: [PATCH] um: writev needs <sys/uio.h>
vector_user.c doesn't compile without this for me.
Signed-off-by: Christoph Hellwig <hch@....de>
---
arch/um/drivers/vector_user.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/um/drivers/vector_user.c b/arch/um/drivers/vector_user.c
index 3d8cdbdb4e66..41eefbcdc86f 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>
--
2.19.2
Powered by blists - more mailing lists