aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/eg-metro.lv2
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/eg-metro.lv2')
-rw-r--r--plugins/eg-metro.lv2/metro.c7
1 files changed, 4 insertions, 3 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"