aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-12-23 02:07:17 +0000
committerDavid Robillard <d@drobilla.net>2012-12-23 02:07:17 +0000
commitb09f94596a7361f01b835d811e14269ecec5272a (patch)
treebea59d8345a3a1aa2104c231f2fac5591e9dd5c1 /plugins
parent9e77acef971c343cad587bb8409b535de6fc458c (diff)
downloadlv2-b09f94596a7361f01b835d811e14269ecec5272a.tar.xz
Windows compilation fixes.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/eg-metro.lv2/metro.c7
-rw-r--r--plugins/eg-sampler.lv2/sampler.c4
2 files changed, 7 insertions, 4 deletions
diff --git a/plugins/eg-metro.lv2/metro.c b/plugins/eg-metro.lv2/metro.c
index 1758766..f196474 100644
--- a/plugins/eg-metro.lv2/metro.c
+++ b/plugins/eg-metro.lv2/metro.c
@@ -20,11 +20,12 @@
*/
#include <math.h>
-#include <stdbool.h>
+#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-
-#include <stdio.h>
+#ifndef __cplusplus
+# include <stdbool.h>
+#endif
#include "lv2/lv2plug.in/ns/ext/atom/atom.h"
#include "lv2/lv2plug.in/ns/ext/atom/util.h"
diff --git a/plugins/eg-sampler.lv2/sampler.c b/plugins/eg-sampler.lv2/sampler.c
index 7d5c81c..9e66b1f 100644
--- a/plugins/eg-sampler.lv2/sampler.c
+++ b/plugins/eg-sampler.lv2/sampler.c
@@ -33,9 +33,11 @@
*/
#include <math.h>
-#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
+#ifndef __cplusplus
+# include <stdbool.h>
+#endif
#include <sndfile.h>