Support mingw cross-compile

This commit is contained in:
Jannik Vogel 2016-12-03 21:08:02 +01:00
parent 7c9dd58580
commit 89e57a3fb0
9 changed files with 11 additions and 9 deletions

View file

@ -15,7 +15,8 @@
#include <fcntl.h>
#ifdef _WIN32
#include <WinSock2.h>
#include <winsock2.h>
// winsock2.h needs to be included first to prevent winsock.h being included by other includes
#include <common/x64/abi.h>
#include <io.h>
#include <iphlpapi.h>