diff options
| author | Zach van Rijn <[email protected]> | 2020-04-01 21:30:48 +0000 |
|---|---|---|
| committer | Richard Weinberger <[email protected]> | 2020-06-02 20:37:11 +0000 |
| commit | 38bccfbeb0af039e59eb75fe6d9b2a83cda3d381 (patch) | |
| tree | a0ad74416932631fe3fb2df1877c13d74fb92b4c | |
| parent | Linux 5.7 (diff) | |
| download | kernel-38bccfbeb0af039e59eb75fe6d9b2a83cda3d381.tar.gz kernel-38bccfbeb0af039e59eb75fe6d9b2a83cda3d381.zip | |
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 <[email protected]>
Acked-By: Anton Ivanov <[email protected]>
Signed-off-by: Richard Weinberger <[email protected]>
| -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> |
