diff --git a/mongoose.h b/mongoose.h index 4899563c..65dbb393 100644 --- a/mongoose.h +++ b/mongoose.h @@ -179,12 +179,13 @@ extern "C" { #include #include #include -#include // rand(), strtol(), atoi() +#include // rand(), strtol(), atoi() #include #if defined(__ARMCC_VERSION) #define mode_t size_t -#include #include +#include +#elif defined(__CCRH__) #else #include #endif diff --git a/src/arch_freertos.h b/src/arch_freertos.h index 883e996a..c82bafaf 100644 --- a/src/arch_freertos.h +++ b/src/arch_freertos.h @@ -11,12 +11,13 @@ #include #include #include -#include // rand(), strtol(), atoi() +#include // rand(), strtol(), atoi() #include #if defined(__ARMCC_VERSION) #define mode_t size_t -#include #include +#include +#elif defined(__CCRH__) #else #include #endif