summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-01-31 22:35:46 +0000
committerDavid Robillard <d@drobilla.net>2012-01-31 22:35:46 +0000
commit73dee9781a50586129c944cf5e71879b1c970def (patch)
tree0d00d15028751b5ebd7f07d7b8daefbf11423b87 /test
parentfe3491419b084c2d41ad9f29274325e6c0043856 (diff)
downloadzix-73dee9781a50586129c944cf5e71879b1c970def.tar.gz
zix-73dee9781a50586129c944cf5e71879b1c970def.tar.bz2
zix-73dee9781a50586129c944cf5e71879b1c970def.zip
Fix compilation on sane platforms.
git-svn-id: http://svn.drobilla.net/zix/trunk@52 df6676b4-ccc9-40e5-b5d6-7c4628a128e3
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;