summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */