about summary refs log tree commit diff
path: root/include/sys
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-04-10 22:47:43 -0400
committerRich Felker <dalias@aerifal.cx>2011-04-10 22:47:43 -0400
commit2555fe1b6da21119f87d407ef3838648d5fd601d (patch)
tree1c915ca1d12ce8019e2f2d22d19b6b7ea73bc127 /include/sys
parent691b20bec013c7a2758a38bafd21b7649c2cc920 (diff)
downloadmusl-2555fe1b6da21119f87d407ef3838648d5fd601d.tar.gz
musl-2555fe1b6da21119f87d407ef3838648d5fd601d.tar.xz
musl-2555fe1b6da21119f87d407ef3838648d5fd601d.zip
add some ugly legacy type names in sys/types.h (u_char etc.)
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/types.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/sys/types.h b/include/sys/types.h
index 216574ad..5c6b2090 100644
--- 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