From bce3a857020d2294f041d423338bb68cb8c57cb6 Mon Sep 17 00:00:00 2001 From: Sergey Lyubka Date: Fri, 21 Sep 2012 19:22:35 +0100 Subject: [PATCH] #including winsock2 and ws2tcpip headers by default on windows --- mongoose.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mongoose.c b/mongoose.c index d6dc2905..9131aa36 100644 --- a/mongoose.c +++ b/mongoose.c @@ -60,6 +60,8 @@ #if defined(_WIN32) && !defined(__SYMBIAN32__) // Windows specific #define _WIN32_WINNT 0x0400 // To make it link in VS2005 #include +#include +#include #ifndef PATH_MAX #define PATH_MAX MAX_PATH @@ -70,8 +72,6 @@ #include #include #else // _WIN32_WCE -#include -#include #define NO_CGI // WinCE has no pipes typedef long off_t;