summaryrefslogtreecommitdiff
path: root/include/sys/statvfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys/statvfs.h')
-rw-r--r--include/sys/statvfs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/sys/statvfs.h b/include/sys/statvfs.h
index b9f72b7e..3eaa2dcf 100644
--- a/include/sys/statvfs.h
+++ b/include/sys/statvfs.h
@@ -41,6 +41,13 @@ int fstatvfs (int, struct statvfs *);
#define ST_NOATIME 1024
#define ST_NODIRATIME 2048
+#ifdef _LARGEFILE64_SOURCE
+#define statvfs64 statvfs
+#define fstatvfs64 fstatvfs
+#define fsblkcnt64_t fsblkcnt_t
+#define fsfilcnt64_t fsfilcnt_t
+#endif
+
#ifdef __cplusplus
}
#endif