Merge "Move winsock2.h in front of a potential windows.h include."
This commit is contained in:
commit
f02c797256
1 changed files with 4 additions and 0 deletions
|
|
@ -25,6 +25,10 @@
|
|||
#include <utils/Compat.h>
|
||||
|
||||
#ifdef HAVE_WIN32_FILEMAP
|
||||
// Ensure that we always pull in winsock2.h before windows.h
|
||||
#ifdef HAVE_WINSOCK
|
||||
#include <winsock2.h>
|
||||
#endif
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue