summaryrefslogtreecommitdiff
path: root/klibc/include/sys/vfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'klibc/include/sys/vfs.h')
-rw-r--r--klibc/include/sys/vfs.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/klibc/include/sys/vfs.h b/klibc/include/sys/vfs.h
index b60d1a572f..cf5aaf9107 100644
--- a/klibc/include/sys/vfs.h
+++ b/klibc/include/sys/vfs.h
@@ -8,11 +8,12 @@
#include <stdint.h>
#include <klibc/extern.h>
#include <sys/types.h>
+#include <bitsize.h>
/* 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 _BITSIZE == 32 || defined(__s390__)
struct statfs {
uint32_t f_type;
@@ -28,7 +29,7 @@ struct statfs {
uint32_t f_spare[5];
};
-#else /* BITSIZE == 64 */
+#else /* _BITSIZE == 64 */
struct statfs {
uint64_t f_type;
@@ -44,7 +45,7 @@ struct statfs {
uint64_t f_spare[5];
};
-#endif /* BITSIZE */
+#endif /* _BITSIZE */
__extern int statfs(const char *, struct statfs *);
__extern int fstatfs(int, struct statfs *);