add *64 junk for sys/*.h headers

This commit is contained in:
Rich Felker 2012-05-04 00:31:25 -04:00
commit f0b85fd926
7 changed files with 50 additions and 0 deletions

View file

@ -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