about summary refs log tree commit diff
path: root/include/sys/statvfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys/statvfs.h')
-rw-r--r--include/sys/statvfs.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/sys/statvfs.h b/include/sys/statvfs.h
index 793490b6..71d9d1f9 100644
--- a/include/sys/statvfs.h
+++ b/include/sys/statvfs.h
@@ -23,7 +23,8 @@ struct statvfs {
 	unsigned long f_fsid;
 #endif
 	unsigned long f_flag, f_namemax;
-	int __reserved[6];
+	unsigned int f_type;
+	int __reserved[5];
 };
 
 int statvfs (const char *__restrict, struct statvfs *__restrict);
@@ -42,7 +43,7 @@ int fstatvfs (int, struct statvfs *);
 #define ST_NODIRATIME  2048
 #define ST_RELATIME    4096
 
-#if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
+#if defined(_LARGEFILE64_SOURCE)
 #define statvfs64 statvfs
 #define fstatvfs64 fstatvfs
 #define fsblkcnt64_t fsblkcnt_t