summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-07-15 10:03:12 +0000
committerEric Andersen <andersen@codepoet.org>2002-07-15 10:03:12 +0000
commit8d12b9fbff99f7dc090a92d304e7b94c4c8a5beb (patch)
treeec7f5179aba0564075bba3c6297ccc626fcc2d98
parent17c362cce61538cf64beb33c524c21344be090bc (diff)
Silence a couple of silly warnings
-Erik
-rw-r--r--libc/sysdeps/linux/common/statfix.c1
-rw-r--r--libc/sysdeps/linux/common/statfix64.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/statfix.c b/libc/sysdeps/linux/common/statfix.c
index 778f8f8e6..507018dc3 100644
--- a/libc/sysdeps/linux/common/statfix.c
+++ b/libc/sysdeps/linux/common/statfix.c
@@ -24,6 +24,7 @@
* struct stat should look like. It turns out that each arch has a different
* opinion on the subject. Then pull in libc's version of struct stat... */
#include "statfix.h"
+#include <string.h>
/* Convert from the kernel's version of struct stat to libc's version */
void __statfix(struct libc_stat *libcstat, struct kernel_stat *kstat)
diff --git a/libc/sysdeps/linux/common/statfix64.c b/libc/sysdeps/linux/common/statfix64.c
index 5fe80cca7..1fd017487 100644
--- a/libc/sysdeps/linux/common/statfix64.c
+++ b/libc/sysdeps/linux/common/statfix64.c
@@ -27,6 +27,7 @@
#include "statfix64.h"
#ifdef __UCLIBC_HAVE_LFS__
+#include <string.h>
/* Convert from the kernel's version of struct stat to libc's version */
void __statfix64(struct libc_stat64 *libcstat, struct kernel_stat64 *kstat)