mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-25 10:43:19 -03:00
net: Drop unneeded Windows headers in compat.h
No interface from the mswsock.h header is used. According to https://docs.microsoft.com/en-us/windows/win32/winsock/creating-a-basic-winsock-application "The Winsock2.h header file internally includes core elements from the Windows.h header file, so there is not usually an #include line for the Windows.h header file in Winsock applications."
This commit is contained in:
parent
f5bd46a4cc
commit
467c346448
1 changed files with 1 additions and 5 deletions
|
@ -18,11 +18,7 @@
|
|||
#undef FD_SETSIZE // prevent redefinition compiler warning
|
||||
#endif
|
||||
#define FD_SETSIZE 1024 // max number of fds in fd_set
|
||||
|
||||
#include <winsock2.h> // Must be included before mswsock.h and windows.h
|
||||
|
||||
#include <mswsock.h>
|
||||
#include <windows.h>
|
||||
#include <winsock2.h>
|
||||
#include <ws2tcpip.h>
|
||||
#include <stdint.h>
|
||||
#else
|
||||
|
|
Loading…
Add table
Reference in a new issue