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