diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-06-13 17:48:47 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-06-13 17:48:47 +0800 |
commit | 88a6a79857daa0b2b2b1b03b7c8bbca8a3f6b78c (patch) | |
tree | b5ed63a10dd2f1a3d811bcce2971f44265d5b9cd | |
parent | 143f5b64f187497af728a6d921c599dcc99ed807 (diff) |
C++ doesn't know size_t by default
-rw-r--r-- | icclient/typedefs.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 <cstddef> +#endif #ifdef __EMSCRIPTEN__ #include <emscripten/fetch.h> typedef emscripten_fetch_t icclient_fetch_t; |