add *64 junk for sys/*.h headers

This commit is contained in:
Rich Felker
2012-05-04 00:31:25 -04:00
parent 2dd8d5e1b8
commit f0b85fd926
7 changed files with 50 additions and 0 deletions
+9
View File
@@ -72,6 +72,15 @@ typedef long register_t;
#include <sys/sysmacros.h>
#endif
#ifdef _LARGEFILE64_SOURCE
#define blksize64_t blksize_t
#define blkcnt64_t blkcnt_t
#define fsblkcnt64_t fsblkcnt_t
#define fsfilcnt64_t fsfilcnt_t
#define ino64_t ino_t
#define off64_t off_t
#endif
#ifdef __cplusplus
}
#endif