From ec889c08b9f71cf1ccaf68bb1a67b27acf500ec1 Mon Sep 17 00:00:00 2001 From: fef Date: Tue, 9 Nov 2021 22:18:36 +0100 Subject: [PATCH] types: add BSD style typedefs for unsigned types --- include/gay/types.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/gay/types.h b/include/gay/types.h index 909b4fa..3ab1c1e 100644 --- a/include/gay/types.h +++ b/include/gay/types.h @@ -18,6 +18,11 @@ # endif /* not __cplusplus */ #endif /* not _BOOL_DECLARED */ +typedef unsigned char u_char; +typedef unsigned short u_short; +typedef unsigned int u_int; +typedef unsigned long u_long; + typedef __int8_t i8; typedef __uint8_t u8;