Browse Source

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

nullable.type 12 năm trước cách đây
mục cha
commit
6eec552ea4
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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)