aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/atom
diff options
context:
space:
mode:
Diffstat (limited to 'lv2/atom')
-rw-r--r--lv2/atom/forge.h3
-rw-r--r--lv2/atom/util.h3
2 files changed, 2 insertions, 4 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. */