projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d77e6a
)
um: Add include: memset() and memcpy() are in <string.h>
author
Zach van Rijn
<me@zv.io>
Wed, 1 Apr 2020 21:30:48 +0000
(16:30 -0500)
committer
Richard Weinberger
<richard@nod.at>
Tue, 2 Jun 2020 20:37:11 +0000
(22:37 +0200)
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>
arch/um/os-Linux/file.c
patch
|
blob
|
history
diff --git
a/arch/um/os-Linux/file.c
b/arch/um/os-Linux/file.c
index 26ecbd64c4094f372d90b3ca1c4f6c2ce60ea544..044836ad7392782f00e276a506a7373b42870703 100644
(file)
--- 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>