summaryrefslogtreecommitdiffstats
path: root/src/zix
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-11-22 01:34:19 +0000
committerDavid Robillard <d@drobilla.net>2014-11-22 01:34:19 +0000
commit5558f42abb8aa701b0b6c441fc18e83a752562a8 (patch)
tree1be059a9c195e6ffa7df171503942fece10ac0a1 /src/zix
parent48a7a16305781c3b728abb7086caa425db5f4124 (diff)
downloadsord-5558f42abb8aa701b0b6c441fc18e83a752562a8.tar.gz
sord-5558f42abb8aa701b0b6c441fc18e83a752562a8.tar.bz2
sord-5558f42abb8aa701b0b6c441fc18e83a752562a8.zip
Fix compilation as C++.
git-svn-id: http://svn.drobilla.net/sord/trunk@316 3d64ff67-21c5-427c-a301-fe4f08042e5a
Diffstat (limited to 'src/zix')
-rw-r--r--src/zix/btree.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/zix/btree.h b/src/zix/btree.h
index 3acd3a4..066b0c2 100644
--- a/src/zix/btree.h
+++ b/src/zix/btree.h
@@ -17,13 +17,14 @@
#ifndef ZIX_BTREE_H
#define ZIX_BTREE_H
-#include <stdbool.h>
#include <stddef.h>
#include "zix/common.h"
#ifdef __cplusplus
extern "C" {
+#else
+# include <stdbool.h>
#endif
/**