浏览代码

Add WinSock2 dependency

batist73 6 年之前
父节点
当前提交
90e699161a
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      httplib.h

+ 2 - 0
httplib.h

@@ -37,6 +37,8 @@
 #include <winsock2.h>
 #include <ws2tcpip.h>
 
+#pragma comment(lib, "ws2_32.lib")
+
 #ifndef strcasecmp
 #define strcasecmp _stricmp
 #endif //strcasecmp