summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2015-02-12 08:00:17 (GMT)
committerAndreas Schneider <asn@cryptomilk.org>2015-02-12 15:59:20 (GMT)
commite7d3455e9d0f9393dc8055a7fd89c93fa5236d5a (patch)
treecfd46ed7b190d4725f80bec5cd1bf6fa623963f5
parent328288bd88a043cf2fefcd10f1efd892414f4a11 (diff)
downloadcmocka-e7d3455e9d0f9393dc8055a7fd89c93fa5236d5a.zip
cmocka-e7d3455e9d0f9393dc8055a7fd89c93fa5236d5a.tar.gz
cmocka-e7d3455e9d0f9393dc8055a7fd89c93fa5236d5a.tar.bz2
include: Fix warning for missing __WORDSIZE
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
-rw-r--r--include/cmocka_private.h2
-rw-r--r--src/cmocka.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/include/cmocka_private.h b/include/cmocka_private.h
index 7479d79..0d2bbee 100644
--- a/include/cmocka_private.h
+++ b/include/cmocka_private.h
@@ -19,6 +19,8 @@
#include "config.h"
+#include <stdint.h>
+
#ifdef _WIN32
#include <windows.h>
diff --git a/src/cmocka.c b/src/cmocka.c
index 611229b..b0e9f57 100644
--- a/src/cmocka.c
+++ b/src/cmocka.c
@@ -27,6 +27,7 @@
#include <inttypes.h>
#endif
+#include <stdint.h>
#include <setjmp.h>
#include <stdarg.h>
#include <stddef.h>