summaryrefslogtreecommitdiff
path: root/src/lib/libc
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-10-08 19:55:23 -0400
committerIan Moffett <ian@osmora.org>2025-10-08 19:55:23 -0400
commit3d4b09f0c0ffa4520c8072934c3d1adbc497c52c (patch)
treee56f1b55e609feca3a875fe3ffc32edbd4f3ce8e /src/lib/libc
parent72592080496f9bde3a93cebf3eb93406f1877ff5 (diff)
libc: stdint: Add signed integer types
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'src/lib/libc')
-rw-r--r--src/lib/libc/include/stdint.h20
1 files changed, 20 insertions, 0 deletions
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 */