From 88a6a79857daa0b2b2b1b03b7c8bbca8a3f6b78c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Sun, 13 Jun 2021 17:48:47 +0800 Subject: C++ doesn't know size_t by default --- icclient/typedefs.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/icclient/typedefs.h b/icclient/typedefs.h index c45e260..2b0ec21 100644 --- a/icclient/typedefs.h +++ b/icclient/typedefs.h @@ -1,6 +1,9 @@ #ifndef ICCLIENT_TYPEDEFS_H #define ICCLIENT_TYPEDEFS_H +#ifdef __cplusplus +#include +#endif #ifdef __EMSCRIPTEN__ #include typedef emscripten_fetch_t icclient_fetch_t; -- cgit v1.2.3