diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-06-20 13:33:29 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-06-20 13:33:29 +0800 |
commit | 4ca7465b1427c550fa34ec8d91b69a7df96ce16a (patch) | |
tree | 6d43ce1c3b0c569416cc1f6bce7ad1075ffa0b57 | |
parent | 88c0da9ea0b8a53d5ee5038099f3df1a5a586d4f (diff) |
C needs stddef too to understand size_t
-rw-r--r-- | icclient/typedefs.h | 4 | ||||
-rw-r--r-- | request.h | 1 |
2 files changed, 1 insertions, 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 <cstddef> -#endif +#include <stddef.h> #ifdef __EMSCRIPTEN__ #include <emscripten/fetch.h> typedef emscripten_fetch_t icclient_response; @@ -1,7 +1,6 @@ #ifndef REQUEST_H #define REQUEST_H -#include <stddef.h> #include "icclient/typedefs.h" struct body { |