From 73dee9781a50586129c944cf5e71879b1c970def Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 31 Jan 2012 22:35:46 +0000 Subject: Fix compilation on sane platforms. git-svn-id: http://svn.drobilla.net/zix/trunk@52 df6676b4-ccc9-40e5-b5d6-7c4628a128e3 --- src/tree_debug.h | 4 ++++ test/sorted_array_test.c | 4 ++++ test/tree_test.c | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/src/tree_debug.h b/src/tree_debug.h index c2af4bf..74f4e0e 100644 --- a/src/tree_debug.h +++ b/src/tree_debug.h @@ -17,6 +17,10 @@ #ifndef ZIX_TREE_DEBUG_H #define ZIX_TREE_DEBUG_H +#ifndef _MSC_VER +# include +#endif + #ifdef ZIX_TREE_DUMP static void zix_tree_print(ZixTreeNode* node, int level) 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 +#ifndef _MSC_VER +# include +#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 +#ifndef _MSC_VER +# include +#endif + #include "zix/zix.h" unsigned seed = 1; -- cgit v1.2.1