lkml.org 
[lkml]   [2019]   [Jan]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] um: writev needs <sys/uio.h>
From
Date


On 12/27/18 7:33 AM, Christoph Hellwig wrote:
> vector_user.c doesn't compile without this for me.
>
> Signed-off-by: Christoph Hellwig <hch@lst.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>
>
Acked-by: Anton Ivanov <anton.ivanov at cambridgegreys.com>
--
Anton R. Ivanov

Cambridge Greys Limited, England and Wales company No 10273661
http://www.cambridgegreys.com/

\
 
 \ /
  Last update: 2019-01-02 17:48    [W:0.029 / U:0.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site