From bf6d929e4c519b78ded66d8715f853306a56e3a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zdenko=20Podobn=C3=BD?= Date: Fri, 28 Sep 2018 23:14:32 +0200 Subject: [PATCH] fix using c-api / compile with gcc --- src/ccutil/platform.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ccutil/platform.h b/src/ccutil/platform.h index 808bec9d..2cc08571 100644 --- a/src/ccutil/platform.h +++ b/src/ccutil/platform.h @@ -38,7 +38,11 @@ #endif #endif /* defined(_MSC_VER) */ #else +#ifdef __cplusplus #include +#else /* C compiler*/ +#include +#endif /* __cplusplus */ #ifndef PATH_MAX #define MAX_PATH 4096 #else