diff options
Diffstat (limited to 'mdk-stage1/dietlibc/include/sys/types.h')
-rw-r--r-- | mdk-stage1/dietlibc/include/sys/types.h | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/mdk-stage1/dietlibc/include/sys/types.h b/mdk-stage1/dietlibc/include/sys/types.h index 6bd483e50..eadc1bb65 100644 --- a/mdk-stage1/dietlibc/include/sys/types.h +++ b/mdk-stage1/dietlibc/include/sys/types.h @@ -101,21 +101,24 @@ typedef unsigned short sa_family_t; #ifdef _BSD_SOURCE /* die, BSD, die! */ +typedef uint16_t nshort; +typedef uint32_t ntime; +typedef uint32_t nlong; +typedef uint32_t ulong; +typedef uint16_t n_short; +typedef uint32_t n_time; +typedef uint32_t n_long; +# ifndef __dietlibc_u_char_defined typedef char* caddr_t; +typedef uint32_t u_long; typedef unsigned char u_char; typedef unsigned short u_short; typedef unsigned int u_int; +# define __dietlibc_u_char_defined +# endif typedef unsigned char uchar; typedef unsigned short ushort; typedef unsigned int uint; -typedef uint32_t u_long; -typedef uint32_t n_long; -typedef uint32_t n_time; -typedef uint16_t n_short; -typedef uint32_t ulong; -typedef uint32_t nlong; -typedef uint32_t ntime; -typedef uint16_t nshort; #endif #ifdef _GNU_SOURCE |