include float.h for DBL_EPSILON caribou-rtos

This commit is contained in:
Mike Sharkey 2021-02-12 23:19:19 -05:00
parent 4ddc4c0530
commit 35c1397018
2 changed files with 8 additions and 6 deletions

10
cJSON.c
View File

@ -38,11 +38,13 @@
#endif #endif
#if defined(_CARIBOU_RTOS_) #if defined(_CARIBOU_RTOS_)
#include <caribou/string.h> #include <caribou/lib/string.h>
#include <caribou/stdio.h> #include <caribou/lib/stdio.h>
#include <caribou/stddef.h> #include <caribou/lib/stddef.h>
#include <caribou/stdint.h> #include <caribou/lib/stdint.h>
#include <caribou/lib/heap.h>
#include <math.h> #include <math.h>
#include <float.h>
#else #else
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>

View File

@ -84,8 +84,8 @@ then using the CJSON_API_VISIBILITY flag to "export" the same symbols the way CJ
#define CJSON_VERSION_PATCH 14 #define CJSON_VERSION_PATCH 14
#if defined(_CARIBOU_RTOS_) #if defined(_CARIBOU_RTOS_)
#include <caribou/stdint.h> #include <caribou/lib/stdint.h>
#include <caribou/stddef.h> #include <caribou/lib/stddef.h>
#else #else
#include <stddef.h> #include <stddef.h>
#endif #endif