aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormaximilian attems <maks@sternwelten.at>2005-12-19 10:34:53 +0100
committerH. Peter Anvin <hpa@zytor.com>2005-12-19 09:52:37 -0800
commit1181b5904272b884afda429461765142e72e34fc (patch)
tree556443ec66bc35d4a35d491170ab1a999095bfbf
parent3811854a8b2cf0302672c6705f69776f565f69f1 (diff)
downloadklibc-1181b5904272b884afda429461765142e72e34fc.tar.gz
fix defintion of struct statfs64klibc-1.1.7
On Sun, 18 Dec 2005, maximilian attems wrote: > Fix the definition of struct statfs64, > required for run-init to work on alpha. > > verified to have no regressions on amd64. while relooking at this patch i'm not shure why amd64 still worked. first i thought of just adding || defined(__alpha__) as least likely to break something that's already working. belows excludes those archs where the line is drawn. Signed-off-by: maximilian attems <janitor@sternwelten.at> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--include/sys/vfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sys/vfs.h b/include/sys/vfs.h
index 32f38a4ce005a..24be10748c820 100644
--- a/include/sys/vfs.h
+++ b/include/sys/vfs.h
@@ -13,7 +13,7 @@
/* struct statfs64 -- there seems to be two standards -
one for 32 and one for 64 bits, and they're incompatible... */
-#if _BITSIZE == 32 || defined(__s390__)
+#if !defined(__x86_64__) && !defined(__ia64__) && !defined(__sparc64__)
struct statfs {
uint32_t f_type;