summaryrefslogtreecommitdiff
path: root/src/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/socket.h')
-rw-r--r--src/socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socket.h b/src/socket.h
index 10bcdefee..6b7a2462e 100644
--- a/src/socket.h
+++ b/src/socket.h
@@ -30,7 +30,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include <winsock2.h>
#include <ws2tcpip.h>
#ifdef _MSC_VER
- #pragma comment(lib, "wsock32.lib")
+ #pragma comment(lib, "ws2_32.lib")
#endif
typedef SOCKET socket_t;
typedef int socklen_t;