_GNU_SOURCE is supposed to imply _LARGEFILE64_SOURCE
[musl] / include / sys / statvfs.h
index 3eaa2dc..0a3ac9e 100644 (file)
@@ -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