diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-05-04 00:31:25 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-05-04 00:31:25 -0400 |
commit | f0b85fd926c5a381416c94be62e7bc20d9fdbdb1 (patch) | |
tree | 9b7c800d5b67e35f27f6a3e98ba112188ff2874a /include/sys/stat.h | |
parent | 2dd8d5e1b8ba1118ff1782e96545cb8a2318592c (diff) | |
download | musl-f0b85fd926c5a381416c94be62e7bc20d9fdbdb1.tar.gz musl-f0b85fd926c5a381416c94be62e7bc20d9fdbdb1.tar.xz musl-f0b85fd926c5a381416c94be62e7bc20d9fdbdb1.zip |
add *64 junk for sys/*.h headers
Diffstat (limited to 'include/sys/stat.h')
-rw-r--r-- | include/sys/stat.h | 11 |
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 |