summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/sorted_array_test.c4
-rw-r--r--test/tree_test.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/test/sorted_array_test.c b/test/sorted_array_test.c
index 63c076b..13f7f32 100644
--- a/test/sorted_array_test.c
+++ b/test/sorted_array_test.c
@@ -21,6 +21,10 @@
#include <sys/time.h>
+#ifndef _MSC_VER
+# include <inttypes.h>
+#endif
+
#include "zix/common.h"
#include "zix/sorted_array.h"
diff --git a/test/tree_test.c b/test/tree_test.c
index b756202..dc91ff8 100644
--- a/test/tree_test.c
+++ b/test/tree_test.c
@@ -21,6 +21,10 @@
#include <sys/time.h>
+#ifndef _MSC_VER
+# include <inttypes.h>
+#endif
+
#include "zix/zix.h"
unsigned seed = 1;