Fix code for windows

This commit is contained in:
brenosilva
2012-06-16 19:33:22 +00:00
parent 35d97d5869
commit 81b74ba633
5 changed files with 62 additions and 43 deletions

View File

@@ -29,7 +29,9 @@
#include "re.h"
#ifdef WIN32
#include <ws2tcpip.h>
int DSOLOCAL inet_pton(int family, const char *src, void *dst);
char DSOLOCAL *strcasestr(const char *haystack, const char *needle);
#endif
int DSOLOCAL normalize_path_inplace(unsigned char *input, int len, int win, int *changed);