projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
691b20b
)
add some ugly legacy type names in sys/types.h (u_char etc.)
author
Rich Felker
<dalias@aerifal.cx>
Mon, 11 Apr 2011 02:47:43 +0000
(22:47 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Mon, 11 Apr 2011 02:47:43 +0000
(22:47 -0400)
include/sys/types.h
patch
|
blob
|
history
diff --git
a/include/sys/types.h
b/include/sys/types.h
index 216574ad0ec969795f3c86f7c5620a83f85c2f5c..5c6b2090b7fa67d4fff247c7f8618bd6adf3557f 100644
(file)
--- a/
include/sys/types.h
+++ b/
include/sys/types.h
@@
-59,6
+59,14
@@
extern "C" {
#ifdef _GNU_SOURCE
typedef unsigned long caddr_t;
+typedef unsigned char u_char;
+typedef unsigned short u_short, ushort;
+typedef unsigned u_int, uint;
+typedef unsigned long u_long, ulong;
+typedef long long quad_t;
+typedef unsigned long long u_quad_t;
+#include <endian.h>
+#include <sys/select.h>
#include <sys/sysmacros.h>
#endif