aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-02-01 06:26:15 +0000
committerDavid Robillard <d@drobilla.net>2012-02-01 06:26:15 +0000
commitc12ac1d6eec0d81eb3adef386327aa3e8cb902e9 (patch)
treefc0be0c74904d0ec0437a85dd7d65dd6459e7ed7
parent3914c70657db34fd8b054dfc90eb9fa5f32c7dba (diff)
downloadlv2-c12ac1d6eec0d81eb3adef386327aa3e8cb902e9.tar.xz
Fix compilation under VC++.
-rw-r--r--lv2/ns/ext/state/state.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lv2/ns/ext/state/state.h b/lv2/ns/ext/state/state.h
index 15510e7..d4e4f5b 100644
--- a/lv2/ns/ext/state/state.h
+++ b/lv2/ns/ext/state/state.h
@@ -23,7 +23,6 @@
#ifndef LV2_STATE_H
#define LV2_STATE_H
-#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
@@ -31,6 +30,8 @@
#ifdef __cplusplus
extern "C" {
+#else
+# include <stdbool.h>
#endif
#define LV2_STATE_URI "http://lv2plug.in/ns/ext/state"