فهرست منبع

Silence a couple of silly warnings
-Erik

Eric Andersen 23 سال پیش
والد
کامیت
8d12b9fbff
2فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 1 0
      libc/sysdeps/linux/common/statfix.c
  2. 1 0
      libc/sysdeps/linux/common/statfix64.c

+ 1 - 0
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)

+ 1 - 0
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)