From 8c29d069db1898b519c6c610a91a25b5ffb8c9d0 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 1 Jan 2001 22:16:11 +0000 Subject: A bunch of updates, part from Manuel Novoa III (such as more long long support), and other updates by me (better cross platform, cross-compiler, etc, support. Now compiles with 2.0.x kernels for armnommu. --- libc/sysdeps/linux/common/statfix.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libc/sysdeps/linux/common/statfix.h') diff --git a/libc/sysdeps/linux/common/statfix.h b/libc/sysdeps/linux/common/statfix.h index 21a776c92..df85d84d4 100644 --- a/libc/sysdeps/linux/common/statfix.h +++ b/libc/sysdeps/linux/common/statfix.h @@ -3,9 +3,11 @@ /* Pull in whatever this particular arch's kernel thinks the kernel version of * struct stat should look like. It turn out that each arch has a different - * opinion on the subject... */ + * opinion on the subject, and different kernel revs use different names... */ #define stat kernel_stat +#define new_stat kernel_stat #include +#undef new_stat #undef stat /* Now pull in libc's version of stat */ -- cgit v1.2.3