aboutsummaryrefslogtreecommitdiffstats
path: root/include/pugl
diff options
context:
space:
mode:
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)