mirror of
https://github.com/tezc/sc.git
synced 2025-01-28 07:03:06 +08:00
sc_sock windows, move Ws2tcpip.h in front of windows.h
This commit is contained in:
parent
c3010e0d12
commit
9250f22d7c
@ -39,9 +39,10 @@
|
||||
#endif
|
||||
|
||||
#if defined(_WIN32) || defined(_WIN64)
|
||||
#include <Ws2tcpip.h>
|
||||
#include <windows.h>
|
||||
#include <winsock2.h>
|
||||
#include <Ws2tcpip.h>
|
||||
|
||||
#pragma comment(lib, "ws2_32.lib")
|
||||
|
||||
typedef SOCKET sc_sock_int;
|
||||
|
Loading…
x
Reference in New Issue
Block a user