From 2555fe1b6da21119f87d407ef3838648d5fd601d Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sun, 10 Apr 2011 22:47:43 -0400 Subject: add some ugly legacy type names in sys/types.h (u_char etc.) --- include/sys/types.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include') 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 +#include #include #endif -- cgit v1.2.1