fix defintion of struct statfs64
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>
diff --git a/include/sys/vfs.h b/include/sys/vfs.h
index 32f38a4..24be107 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;