diff --git a/mongoose.c b/mongoose.c index 55c52592..35ce2cfa 100644 --- a/mongoose.c +++ b/mongoose.c @@ -511,6 +511,9 @@ int mkdir(const char *path, mode_t mode) { #endif /* CS_ENABLE_SPIFFS */ #endif /* EXCLUDE_COMMON */ + +/* ISO C requires a translation unit to contain at least one declaration */ +typedef int cs_dirent_dummy; #ifdef MG_MODULE_LINES #line 0 "./src/../../common/cs_time.c" #endif