diff --git a/mongoose.h b/mongoose.h index fd1ea43e1fedc5837e34ff8125b9a4ef30084278..58724f25a52045f08994f8707ffed009f5c4b368 100644 --- a/mongoose.h +++ b/mongoose.h @@ -150,8 +150,12 @@ #ifdef _MSC_VER #pragma comment(lib, "ws2_32.lib") /* Linking with winsock library */ #endif + +#include <winsock2.h> +#include <ws2tcpip.h> #include <windows.h> #include <process.h> + #ifndef EINPROGRESS #define EINPROGRESS WSAEINPROGRESS #endif