aboutsummaryrefslogtreecommitdiffstats
path: root/lv2
diff options
context:
space:
mode:
Diffstat (limited to 'lv2')
-rw-r--r--lv2/atom/forge.h3
-rw-r--r--lv2/atom/util.h3
-rw-r--r--lv2/core/lv2_util.h3
-rw-r--r--lv2/event/event-helpers.h3
-rw-r--r--lv2/midi/midi.h3
-rw-r--r--lv2/resize-port/resize-port.h3
-rw-r--r--lv2/state/state.h3
-rw-r--r--lv2/ui/ui.h3
8 files changed, 8 insertions, 16 deletions
diff --git a/lv2/atom/forge.h b/lv2/atom/forge.h
index 826b2d1..50e962b 100644
--- a/lv2/atom/forge.h
+++ b/lv2/atom/forge.h
@@ -49,6 +49,7 @@
#define LV2_ATOM_FORGE_H
#include <assert.h>
+#include <stdbool.h>
#include "lv2/atom/atom.h"
#include "lv2/atom/util.h"
@@ -57,8 +58,6 @@
#ifdef __cplusplus
extern "C" {
-#else
-# include <stdbool.h>
#endif
// Disable deprecation warnings for Blank and Resource
diff --git a/lv2/atom/util.h b/lv2/atom/util.h
index b507180..5151f84 100644
--- a/lv2/atom/util.h
+++ b/lv2/atom/util.h
@@ -32,6 +32,7 @@
#define LV2_ATOM_UTIL_H
#include <stdarg.h>
+#include <stdbool.h>
#include <stdint.h>
#include <string.h>
@@ -39,8 +40,6 @@
#ifdef __cplusplus
extern "C" {
-#else
-# include <stdbool.h>
#endif
/** Pad a size to 64 bits. */
diff --git a/lv2/core/lv2_util.h b/lv2/core/lv2_util.h
index e82d097..7717b72 100644
--- a/lv2/core/lv2_util.h
+++ b/lv2/core/lv2_util.h
@@ -21,14 +21,13 @@
*/
#include <stdarg.h>
+#include <stdbool.h>
#include <string.h>
#include "lv2/core/lv2.h"
#ifdef __cplusplus
extern "C" {
-#else
-# include <stdbool.h>
#endif
/**
diff --git a/lv2/event/event-helpers.h b/lv2/event/event-helpers.h
index 2f0fcf5..a0e4c79 100644
--- a/lv2/event/event-helpers.h
+++ b/lv2/event/event-helpers.h
@@ -22,6 +22,7 @@
#ifndef LV2_EVENT_HELPERS_H
#define LV2_EVENT_HELPERS_H
+#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
@@ -31,8 +32,6 @@
#ifdef __cplusplus
extern "C" {
-#else
-# include <stdbool.h>
#endif
LV2_DISABLE_DEPRECATION_WARNINGS
diff --git a/lv2/midi/midi.h b/lv2/midi/midi.h
index 79e3a83..52e9956 100644
--- a/lv2/midi/midi.h
+++ b/lv2/midi/midi.h
@@ -26,12 +26,11 @@
#ifndef LV2_MIDI_H
#define LV2_MIDI_H
+#include <stdbool.h>
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
-#else
-# include <stdbool.h>
#endif
#define LV2_MIDI_URI "http://lv2plug.in/ns/ext/midi" ///< http://lv2plug.in/ns/ext/midi
diff --git a/lv2/resize-port/resize-port.h b/lv2/resize-port/resize-port.h
index 5eb47f2..34bfe61 100644
--- a/lv2/resize-port/resize-port.h
+++ b/lv2/resize-port/resize-port.h
@@ -25,6 +25,7 @@
#ifndef LV2_RESIZE_PORT_H
#define LV2_RESIZE_PORT_H
+#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
@@ -37,8 +38,6 @@
#ifdef __cplusplus
extern "C" {
-#else
-# include <stdbool.h>
#endif
/** A status code for state functions. */
diff --git a/lv2/state/state.h b/lv2/state/state.h
index ffc40d1..7c1c9c0 100644
--- a/lv2/state/state.h
+++ b/lv2/state/state.h
@@ -27,6 +27,7 @@
#ifndef LV2_STATE_H
#define LV2_STATE_H
+#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
@@ -46,8 +47,6 @@
#ifdef __cplusplus
extern "C" {
-#else
-# include <stdbool.h>
#endif
typedef void* LV2_State_Handle; ///< Opaque handle for state save/restore
diff --git a/lv2/ui/ui.h b/lv2/ui/ui.h
index 96fdbac..a99b8d8 100644
--- a/lv2/ui/ui.h
+++ b/lv2/ui/ui.h
@@ -28,6 +28,7 @@
#ifndef LV2_UI_H
#define LV2_UI_H
+#include <stdbool.h>
#include <stdint.h>
#include "lv2/core/lv2.h"
@@ -73,8 +74,6 @@
#ifdef __cplusplus
extern "C" {
-#else
-# include <stdbool.h>
#endif
/**