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/stat.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libc/sysdeps/linux/common/stat.c') diff --git a/libc/sysdeps/linux/common/stat.c b/libc/sysdeps/linux/common/stat.c index 74d6e2f5f..7cc6131b3 100644 --- a/libc/sysdeps/linux/common/stat.c +++ b/libc/sysdeps/linux/common/stat.c @@ -9,14 +9,15 @@ /* need to hide the 64bit prototype or the weak_alias() * will fail when __NR_stat64 doesnt exist */ +#define stat64 __hidestat64 #define __stat64 __hide__stat64 #include "syscalls.h" #include -#define _SYS_STAT_H -#include +#include #include "xstatconv.h" +#undef stat64 #undef __stat64 #define __NR___syscall_stat __NR_stat -- cgit v1.2.3