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/mman.h | |
parent | 2dd8d5e1b8ba1118ff1782e96545cb8a2318592c (diff) | |
download | musl-f0b85fd926c5a381416c94be62e7bc20d9fdbdb1.tar.gz |
add *64 junk for sys/*.h headers
Diffstat (limited to 'include/sys/mman.h')
-rw-r--r-- | include/sys/mman.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sys/mman.h b/include/sys/mman.h index 4f871634..a48c2b4f 100644 --- a/include/sys/mman.h +++ b/include/sys/mman.h @@ -33,6 +33,11 @@ int madvise (void *, size_t, int); int shm_open (const char *, int, mode_t); int shm_unlink (const char *); +#ifdef _LARGEFILE64_SOURCE +#define mmap64 mmap +#define off64_t off_t +#endif + #ifdef __cplusplus } #endif |