statfs64 sparc_v9 fix
It seems that klibc uses __sparc64__ to determine if it's compiled in 64
bit mode on sparc, gcc doesn't define __sparc64__
use __sparc_v9__ instead as proposed by Kyle McMartin <kyle@parisc-linux.org>,
based on a patch by Sjoerd Simons <sjoerd@spring.luon.net>
Signed-off-by: maximilian attems <maks@sternwelten.at>
diff --git a/include/sys/vfs.h b/include/sys/vfs.h
index 41a2d76..aeb14d4 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 !defined(__x86_64__) && !defined(__ia64__) && !defined(__sparc64__)
+#if !defined(__x86_64__) && !defined(__ia64__) && !defined(__sparc_v9__)
struct statfs {
uint32_t f_type;