diff --git a/mongoose.h b/mongoose.h index 65ac0c7e..67a2f4f4 100644 --- a/mongoose.h +++ b/mongoose.h @@ -1534,21 +1534,29 @@ char* inet_ntoa(struct in_addr in); #if CS_PLATFORM == CS_P_STM32 #include +#include #include #include #include #include #include #include +#include #define to64(x) strtoll(x, NULL, 10) #define INT64_FMT PRId64 #define SIZE_T_FMT "u" +typedef struct stat cs_stat_t; +#define DIRSEP '/' #ifndef CS_ENABLE_STDIO #define CS_ENABLE_STDIO 1 #endif +#ifndef MG_ENABLE_FILESYSTEM +#define MG_ENABLE_FILESYSTEM 1 +#endif + #endif /* CS_PLATFORM == CS_P_STM32 */ #endif /* CS_COMMON_PLATFORMS_PLATFORM_STM32_H_ */ #ifdef MG_MODULE_LINES