aboutsummaryrefslogtreecommitdiff
path: root/extra/pb_syshdr.h
diff options
context:
space:
mode:
Diffstat (limited to 'extra/pb_syshdr.h')
-rw-r--r--extra/pb_syshdr.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/extra/pb_syshdr.h b/extra/pb_syshdr.h
index 1ff4823..55d06a3 100644
--- a/extra/pb_syshdr.h
+++ b/extra/pb_syshdr.h
@@ -24,6 +24,14 @@ typedef signed int int32_t;
typedef unsigned int uint32_t;
typedef signed long long int64_t;
typedef unsigned long long uint64_t;
+
+/* These are ok for most platforms, unless uint8_t is actually not available,
+ * in which case you should give the smallest available type. */
+typedef int8_t int_least8_t;
+typedef uint8_t uint_least8_t;
+typedef uint8_t uint_fast8_t;
+typedef int16_t int_least16_t;
+typedef uint16_t uint_least16_t;
#endif
/* stddef.h subset */