From b0759696d15d24f9e82318d9c27cb794a4787c9c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 22 Apr 2022 18:16:49 -0400 Subject: 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. --- include/pugl/pugl.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include/pugl') 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 #include #include +#ifndef __cplusplus +# include +#endif + #ifndef PUGL_API # if defined(_WIN32) && !defined(PUGL_STATIC) && defined(PUGL_INTERNAL) # define PUGL_API __declspec(dllexport) -- cgit v1.2.1