Selaa lähdekoodia

Added declaration to avoid warning C4115 (named type definition in parentheses) issued by Visual Studio 2012.

nullable.type 12 vuotta sitten
vanhempi
commit
6eec552ea4
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      mongoose.c

+ 2 - 0
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)