diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/eg-metro.lv2/metro.c | 7 | ||||
-rw-r--r-- | plugins/eg-sampler.lv2/sampler.c | 4 |
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> |