projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
take byte order from gcc if gcc has defined it
[musl]
/
include
/
sys
/
types.h
diff --git
a/include/sys/types.h
b/include/sys/types.h
index
72b4c5c
..
b9b65f6
100644
(file)
--- a/
include/sys/types.h
+++ b/
include/sys/types.h
@@
-59,7
+59,7
@@
typedef __uint32_t u_int32_t;
typedef __uint64_t u_int64_t;
#ifdef _GNU_SOURCE
typedef __uint64_t u_int64_t;
#ifdef _GNU_SOURCE
-typedef
unsigned long
caddr_t;
+typedef
char *
caddr_t;
typedef unsigned char u_char;
typedef unsigned short u_short, ushort;
typedef unsigned u_int, uint;
typedef unsigned char u_char;
typedef unsigned short u_short, ushort;
typedef unsigned u_int, uint;
@@
-72,6
+72,15
@@
typedef long register_t;
#include <sys/sysmacros.h>
#endif
#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
#ifdef __cplusplus
}
#endif