From 3d4b09f0c0ffa4520c8072934c3d1adbc497c52c Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Wed, 8 Oct 2025 19:55:23 -0400 Subject: libc: stdint: Add signed integer types Signed-off-by: Ian Moffett --- src/lib/libc/include/stdint.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/lib/libc/include/stdint.h b/src/lib/libc/include/stdint.h index 24898c0..ee82706 100644 --- a/src/lib/libc/include/stdint.h +++ b/src/lib/libc/include/stdint.h @@ -54,4 +54,24 @@ typedef __uint64_t uint64_t; #endif /* _HAVE_UINT64_T */ #endif /* __SIZEOF_SIZE_T__ */ +#ifndef _HAVE_INT8_T +#define _HAVE_INT8_T +typedef __int8_t int8_t; +#endif /* _HAVE_INT8_T */ + +#ifndef _HAVE_INT16_T +#define _HAVE_INT16_T +typedef __int16_t int16_t; +#endif /* _HAVE_INT16_T */ + +#ifndef _HAVE_INT32_T +#define _HAVE_INT32_T +typedef __int32_t int32_t; +#endif /* !_HAVE_INT32_T */ + +#ifndef _HAVE_INT64_T +#define _HAVE_INT64_T +typedef __int64_t int64_t; +#endif /* !_HAVE_INT64_T */ + #endif /* !_STDINT_H */ -- cgit v1.2.3