diff options
author | Zach van Rijn <me@zv.io> | 2020-04-02 00:30:48 +0300 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2020-06-02 23:37:11 +0300 |
commit | 38bccfbeb0af039e59eb75fe6d9b2a83cda3d381 (patch) | |
tree | a0ad74416932631fe3fb2df1877c13d74fb92b4c /arch/um/os-Linux/file.c | |
parent | 3d77e6a8804abcc0504c904bd6e5cdf3a5cf8162 (diff) | |
download | linux-38bccfbeb0af039e59eb75fe6d9b2a83cda3d381.tar.xz |
um: Add include: memset() and memcpy() are in <string.h>
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@zv.io>
Acked-By: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/os-Linux/file.c')
-rw-r--r-- | arch/um/os-Linux/file.c | 1 |
1 files changed, 1 insertions, 0 deletions
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> |