From 2ed5fd770ac8219ec08409f45089ec5831eab7b0 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 14 Jan 2006 00:17:05 +0000 Subject: dont include bits/kernel_stat.h as xstatconv.h already does and use sys/stat.h rather than bits/stat.h --- libc/sysdeps/linux/common/lstat.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libc/sysdeps/linux/common/lstat.c') 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 -#define _SYS_STAT_H -#include -#include +#include #include "xstatconv.h" +#undef lstat64 #undef __lstat64 #define __NR___syscall_lstat __NR_lstat -- cgit v1.2.3