From 4ca7465b1427c550fa34ec8d91b69a7df96ce16a 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, 20 Jun 2021 13:33:29 +0800 Subject: C needs stddef too to understand size_t --- icclient/typedefs.h | 4 +--- request.h | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/icclient/typedefs.h b/icclient/typedefs.h index 80e09b1..6876144 100644 --- a/icclient/typedefs.h +++ b/icclient/typedefs.h @@ -1,9 +1,7 @@ #ifndef ICCLIENT_TYPEDEFS_H #define ICCLIENT_TYPEDEFS_H -#ifdef __cplusplus -#include -#endif +#include #ifdef __EMSCRIPTEN__ #include typedef emscripten_fetch_t icclient_response; diff --git a/request.h b/request.h index b8752c0..3f67148 100644 --- a/request.h +++ b/request.h @@ -1,7 +1,6 @@ #ifndef REQUEST_H #define REQUEST_H -#include #include "icclient/typedefs.h" struct body { -- cgit v1.2.3