aboutsummaryrefslogtreecommitdiffstats
path: root/include/pugl
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-04-22 18:16:49 -0400
committerDavid Robillard <d@drobilla.net>2022-04-23 21:19:22 -0400
commitb0759696d15d24f9e82318d9c27cb794a4787c9c (patch)
treef3d01521770bb1195c940f0b32da4f81558e315b /include/pugl
parent7feb9000f640d9d6f05f5d0f80a2177db920af49 (diff)
downloadpugl-b0759696d15d24f9e82318d9c27cb794a4787c9c.tar.gz
pugl-b0759696d15d24f9e82318d9c27cb794a4787c9c.tar.bz2
pugl-b0759696d15d24f9e82318d9c27cb794a4787c9c.zip
Fix IWYU warnings
I suspect that using the same configuration across both C and C++ is starting to wear a bit thin, but this will do for now.
Diffstat (limited to 'include/pugl')
-rw-r--r--include/pugl/pugl.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/pugl/pugl.h b/include/pugl/pugl.h
index ce796d1..4f30348 100644
--- a/include/pugl/pugl.h
+++ b/include/pugl/pugl.h
@@ -4,10 +4,13 @@
#ifndef PUGL_PUGL_H
#define PUGL_PUGL_H
-#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
+#ifndef __cplusplus
+# include <stdbool.h>
+#endif
+
#ifndef PUGL_API
# if defined(_WIN32) && !defined(PUGL_STATIC) && defined(PUGL_INTERNAL)
# define PUGL_API __declspec(dllexport)