summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-13 17:48:47 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-13 17:48:47 +0800
commit88a6a79857daa0b2b2b1b03b7c8bbca8a3f6b78c (patch)
treeb5ed63a10dd2f1a3d811bcce2971f44265d5b9cd
parent143f5b64f187497af728a6d921c599dcc99ed807 (diff)
C++ doesn't know size_t by default
-rw-r--r--icclient/typedefs.h3
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;