Added #pragma comment(lib, "Ws2_32.lib") for win32

This commit is contained in:
Sergey Lyubka 2012-09-21 09:03:47 +01:00
parent 0f15954727
commit 586574e176

View File

@ -171,6 +171,9 @@ typedef struct DIR {
struct dirent result; struct dirent result;
} DIR; } DIR;
// Mark required libraries
#pragma comment(lib, "Ws2_32.lib")
#else // UNIX specific #else // UNIX specific
#include <sys/wait.h> #include <sys/wait.h>
#include <sys/socket.h> #include <sys/socket.h>