Skip to content

Commit 38bccfb

Browse files
zv-iorichardweinberger
authored andcommitted
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]>
1 parent 3d77e6a commit 38bccfb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/um/os-Linux/file.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#include <stdio.h>
77
#include <unistd.h>
88
#include <stdlib.h>
9+
#include <string.h>
910
#include <errno.h>
1011
#include <fcntl.h>
1112
#include <signal.h>

0 commit comments

Comments
 (0)