From a3d51c93ceaf86110a72b6501262f00c3495227c Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Wed, 15 Oct 2025 16:58:00 +0300 Subject: [PATCH] thirdparty: include stddef.h in cJSON.c (enable compilation of the object file with our prebuilt tcc) --- thirdparty/cJSON/cJSON.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/thirdparty/cJSON/cJSON.c b/thirdparty/cJSON/cJSON.c index 9ec95ba41..041245c1c 100644 --- a/thirdparty/cJSON/cJSON.c +++ b/thirdparty/cJSON/cJSON.c @@ -1,3 +1,7 @@ +#if defined(__APPLE__) +#include +#endif + /* Copyright (c) 2009-2017 Dave Gamble and cJSON contributors -- 2.39.5