Fix windows build

This commit is contained in:
Albert Vaca Cintora 2023-07-16 18:01:13 +02:00
parent cc648ecc77
commit f218c5f4e5

View file

@ -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>