about summary refs log tree commit diff
path: root/include/sys/stat.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys/stat.h')
-rw-r--r--include/sys/stat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sys/stat.h b/include/sys/stat.h
index 14a5424b..2a7ce233 100644
--- a/include/sys/stat.h
+++ b/include/sys/stat.h
@@ -96,7 +96,7 @@ int lchmod(const char *, mode_t);
 #define S_IEXEC S_IXUSR
 #endif
 
-#ifdef _LARGEFILE64_SOURCE
+#if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
 #define stat64 stat
 #define fstat64 fstat
 #define lstat64 lstat