Fix windows build
This commit is contained in:
parent
cc648ecc77
commit
f218c5f4e5
1 changed files with 2 additions and 1 deletions
|
@ -13,8 +13,9 @@
|
||||||
#include <netinet/tcp.h>
|
#include <netinet/tcp.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#else
|
#else
|
||||||
#include <mstcpip.h>
|
|
||||||
#include <winsock2.h>
|
#include <winsock2.h>
|
||||||
|
// Winsock2 needs to be included before any other header
|
||||||
|
#include <mstcpip.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <QHostInfo>
|
#include <QHostInfo>
|
||||||
|
|
Loading…
Reference in a new issue