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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sys/statvfs.h b/include/sys/statvfs.h
index 3eaa2dcf..0a3ac9e0 100644
--- a/include/sys/statvfs.h
+++ b/include/sys/statvfs.h
@@ -41,7 +41,7 @@ int fstatvfs (int, struct statvfs *);
 #define ST_NOATIME     1024
 #define ST_NODIRATIME  2048
 
-#ifdef _LARGEFILE64_SOURCE
+#if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
 #define statvfs64 statvfs
 #define fstatvfs64 fstatvfs
 #define fsblkcnt64_t fsblkcnt_t