summaryrefslogtreecommitdiff
path: root/icclient
diff options
context:
space:
mode:
Diffstat (limited to 'icclient')
-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;