summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/statfix.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/statfix.c')
-rw-r--r--libc/sysdeps/linux/common/statfix.c1
1 files changed, 1 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)