From 35c1397018232a90f250750b955ee93ca7abdea0 Mon Sep 17 00:00:00 2001 From: Mike Sharkey Date: Fri, 12 Feb 2021 23:19:19 -0500 Subject: [PATCH] include float.h for DBL_EPSILON caribou-rtos --- cJSON.c | 10 ++++++---- cJSON.h | 4 ++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/cJSON.c b/cJSON.c index 546d381..dc62ff4 100644 --- a/cJSON.c +++ b/cJSON.c @@ -38,11 +38,13 @@ #endif #if defined(_CARIBOU_RTOS_) - #include - #include - #include - #include + #include + #include + #include + #include + #include #include + #include #else #include #include diff --git a/cJSON.h b/cJSON.h index 17bea44..4bd1e2e 100644 --- a/cJSON.h +++ b/cJSON.h @@ -84,8 +84,8 @@ then using the CJSON_API_VISIBILITY flag to "export" the same symbols the way CJ #define CJSON_VERSION_PATCH 14 #if defined(_CARIBOU_RTOS_) - #include - #include + #include + #include #else #include #endif