[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <26235042-02c6-04ae-42ec-4d1f393975d8@cambridgegreys.com>
Date: Thu, 2 Apr 2020 08:44:29 +0100
From: Anton Ivanov <anton.ivanov@...bridgegreys.com>
To: Zach van Rijn <me@...io>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Cc: Richard Weinberger <richard@....at>, Jeff Dike <jdike@...toit.com>,
linux-um@...ts.infradead.org
Subject: Re: [PATCH] um: add include: memset() and memcpy() are in <string.h>
On 01/04/2020 22:30, Zach van Rijn wrote:
> These two functions are otherwise unknown to the pedantic compiler.
> Include the correct header to enable the build to succeed.
>
> Signed-off-by: Zach van Rijn <me@...io>
> ---
> arch/um/os-Linux/file.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/um/os-Linux/file.c b/arch/um/os-Linux/file.c
> index 26ecbd64c409..044836ad7392 100644
> --- a/arch/um/os-Linux/file.c
> +++ b/arch/um/os-Linux/file.c
> @@ -6,6 +6,7 @@
> #include <stdio.h>
> #include <unistd.h>
> #include <stdlib.h>
> +#include <string.h>
> #include <errno.h>
> #include <fcntl.h>
> #include <signal.h>
>
Acked-By: Anton Ivanov <anton.ivanov@...bridgegreys.com>
--
Anton R. Ivanov
Cambridgegreys Limited. Registered in England. Company Number 10273661
https://www.cambridgegreys.com/
Powered by blists - more mailing lists