diff options
author | David Robillard <d@drobilla.net> | 2012-01-31 22:35:46 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-01-31 22:35:46 +0000 |
commit | 73dee9781a50586129c944cf5e71879b1c970def (patch) | |
tree | 0d00d15028751b5ebd7f07d7b8daefbf11423b87 | |
parent | fe3491419b084c2d41ad9f29274325e6c0043856 (diff) | |
download | zix-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
-rw-r--r-- | src/tree_debug.h | 4 | ||||
-rw-r--r-- | test/sorted_array_test.c | 4 | ||||
-rw-r--r-- | test/tree_test.c | 4 |
3 files changed, 12 insertions, 0 deletions
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 <inttypes.h> +#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 <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; |