diff --git a/mongoose.c b/mongoose.c index 057dba35..dd15b18e 100644 --- a/mongoose.c +++ b/mongoose.c @@ -367,6 +367,7 @@ void mg_error(struct mg_connection *c, const char *fmt, ...) { + struct http_data { void *old_pfn_data; // Previous pfn_data FILE *fp; // For static file serving diff --git a/src/http.c b/src/http.c index 9f5254dc..95acaeb6 100644 --- a/src/http.c +++ b/src/http.c @@ -5,6 +5,7 @@ #include "net.h" #include "private.h" #include "util.h" +#include "version.h" #include "ws.h" struct http_data {