projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add *64 junk for sys/*.h headers
[musl]
/
include
/
sys
/
stat.h
diff --git
a/include/sys/stat.h
b/include/sys/stat.h
index
5e339d5
..
5d50ae7
100644
(file)
--- 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
#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
#ifdef __cplusplus
}
#endif