diff --git a/mongoose.c b/mongoose.c index 55c5259293c65f8a3faf1b89dbc13a06ae49626a..35ce2cfa53d8a6e7255da3a98f9850c9054483fc 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