summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
/**