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.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/sys/stat.h b/include/sys/stat.h
index 5e339d5c..5d50ae76 100644
--- a/include/sys/stat.h
+++ b/include/sys/stat.h
@@ -96,6 +96,17 @@ int lchmod(const char *, mode_t);
 #define S_IEXEC S_IXUSR
 #endif
 
+#ifdef _LARGEFILE64_SOURCE
+#define stat64 stat
+#define fstat64 fstat
+#define lstat64 lstat
+#define fstatat64 fstatat
+#define blksize64_t blksize_t
+#define blkcnt64_t blkcnt_t
+#define ino64_t ino_t
+#define off64_t off_t
+#endif
+
 #ifdef __cplusplus
 }
 #endif