summaryrefslogtreecommitdiff
path: root/firmware/include/sys
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/include/sys')
-rw-r--r--firmware/include/sys/types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/include/sys/types.h b/firmware/include/sys/types.h
index 07f9e9c8c7..ecc25fd749 100644
--- a/firmware/include/sys/types.h
+++ b/firmware/include/sys/types.h
@@ -30,6 +30,9 @@
/*
* include string.h for size_t for convinence */
#include <string.h>
+/* make some (debian, ubuntu...) systems happy that inappropriately include
+ * sys/types.h to get intN_t ... */
+#include <inttypes.h>
#if !defined(__ssize_t_defined) && !defined(_SSIZE_T_) && !defined(ssize_t) && !defined(_SSIZE_T_DECLARED)
#define __ssize_t_defined