aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--serd/serd.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/serd/serd.h b/serd/serd.h
index 49a516fa..b88cb8f8 100644
--- a/serd/serd.h
+++ b/serd/serd.h
@@ -22,6 +22,7 @@
#define SERD_SERD_H
#include <stdarg.h>
+#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
@@ -45,8 +46,6 @@
#ifdef __cplusplus
extern "C" {
-#else
-# include <stdbool.h>
#endif
/**