about summary refs log tree commit diff
path: root/include/sys/statfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys/statfs.h')
-rw-r--r--include/sys/statfs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/sys/statfs.h b/include/sys/statfs.h
index f5239d8f..c1cbe9e0 100644
--- a/include/sys/statfs.h
+++ b/include/sys/statfs.h
@@ -16,6 +16,13 @@ typedef struct {
 int statfs (const char *, struct statfs *);
 int fstatfs (int, struct statfs *);
 
+#ifdef _LARGEFILE64_SOURCE
+#define statfs64 statfs
+#define fstatfs64 fstatfs
+#define fsblkcnt64_t fsblkcnt_t
+#define fsfilcnt64_t fsfilcnt_t
+#endif
+
 #ifdef __cplusplus
 }
 #endif