From 6eec552ea4420217d65d4ea9b5dc14217f93b2ad Mon Sep 17 00:00:00 2001 From: "nullable.type" Date: Sat, 27 Oct 2012 14:04:41 +0200 Subject: [PATCH] Added declaration to avoid warning C4115 (named type definition in parentheses) issued by Visual Studio 2012. --- mongoose.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mongoose.c b/mongoose.c index e124135f..ccaf5e22 100644 --- a/mongoose.c +++ b/mongoose.c @@ -146,6 +146,8 @@ static int pthread_mutex_lock(pthread_mutex_t *); static int pthread_mutex_unlock(pthread_mutex_t *); static void to_unicode(const char *path, wchar_t *wbuf, size_t wbuf_len); + +struct file; static char *mg_fgets(char *buf, size_t size, struct file *filep, char **p); #if defined(HAVE_STDINT)