diff --git a/mongoose.c b/mongoose.c index f9fcc365..cc2432c9 100644 --- a/mongoose.c +++ b/mongoose.c @@ -122,6 +122,7 @@ fail: + #define MG_NO_CACHE_HEADERS "Cache-Control: no-cache\r\n" #define MG_JSON_HEADERS "Content-Type: application/json\r\n" MG_NO_CACHE_HEADERS diff --git a/src/dash.c b/src/dash.c index 1f5c2899..f6998d5e 100644 --- a/src/dash.c +++ b/src/dash.c @@ -1,5 +1,6 @@ #include "dash.h" #include "util.h" +#include "ota.h" #define MG_NO_CACHE_HEADERS "Cache-Control: no-cache\r\n" #define MG_JSON_HEADERS "Content-Type: application/json\r\n" MG_NO_CACHE_HEADERS