include: Fix warning for missing __WORDSIZE
authorAndreas Schneider <asn@cryptomilk.org>
Thu, 12 Feb 2015 08:00:17 +0000 (09:00 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 12 Feb 2015 15:59:20 +0000 (16:59 +0100)
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
include/cmocka_private.h
src/cmocka.c

index 7479d79..0d2bbee 100644 (file)
@@ -19,6 +19,8 @@
 
 #include "config.h"
 
+#include <stdint.h>
+
 #ifdef _WIN32
 #include <windows.h>
 
index 611229b..b0e9f57 100644 (file)
@@ -27,6 +27,7 @@
 #include <inttypes.h>
 #endif
 
+#include <stdint.h>
 #include <setjmp.h>
 #include <stdarg.h>
 #include <stddef.h>