Browse Source

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

Sergey Lyubka 12 years ago
parent
commit
586574e176
1 changed files with 3 additions and 0 deletions
  1. 3 0
      mongoose.c

+ 3 - 0
mongoose.c

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