From: Asias He Date: Mon, 19 Aug 2013 01:23:19 +0000 (+0800) Subject: vhost: Include linux/uio.h instead of linux/socket.h X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=35596b2796713c6a9dc05759837fa9f0e156a200;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git vhost: Include linux/uio.h instead of linux/socket.h memcpy_fromiovec is moved from net/core/iovec.c to lib/iovec.c. linux/uio.h provides the declaration for memcpy_fromiovec. Include linux/uio.h instead of inux/socket.h for it. Signed-off-by: Asias He Acked-by: Michael S. Tsirkin Signed-off-by: David S. Miller --- diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c index e58cf0001cee..448efe01f18a 100644 --- a/drivers/vhost/vhost.c +++ b/drivers/vhost/vhost.c @@ -13,7 +13,7 @@ #include #include -#include /* memcpy_fromiovec */ +#include #include #include #include