From 369f44adfa38e0d8fa9667e9d6bafd7e0e3c6231 Mon Sep 17 00:00:00 2001 From: cpq Date: Thu, 10 Dec 2020 17:46:26 +0000 Subject: [PATCH] Add version.h --- mongoose.c | 1 + src/http.c | 1 + 2 files changed, 2 insertions(+) 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 {