diff options
Diffstat (limited to 'libc/sysdeps/linux/common/lstat.c')
-rw-r--r-- | libc/sysdeps/linux/common/lstat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/common/lstat.c b/libc/sysdeps/linux/common/lstat.c index 4d01adcec..d7feac273 100644 --- a/libc/sysdeps/linux/common/lstat.c +++ b/libc/sysdeps/linux/common/lstat.c @@ -9,15 +9,15 @@ /* need to hide the 64bit prototype or the weak_alias() * will fail when __NR_lstat64 doesnt exist */ +#define lstat64 __hidelstat64 #define __lstat64 __hide__lstat64 #include "syscalls.h" #include <unistd.h> -#define _SYS_STAT_H -#include <bits/stat.h> -#include <bits/kernel_stat.h> +#include <sys/stat.h> #include "xstatconv.h" +#undef lstat64 #undef __lstat64 #define __NR___syscall_lstat __NR_lstat |