Fix the Winsock compilation errors.

This commit is contained in:
Jonathan Naylor
2024-04-22 19:12:33 +01:00
parent ca2bff7e9e
commit 738c82d7b9
8 changed files with 17 additions and 16 deletions

View File

@@ -38,8 +38,8 @@
#include <net/route.h>
#endif
#elif defined(_WIN32) || defined(_WIN64)
// #include <ws2tcpip.h>
// #include <WinSock2.h>
#include <ws2tcpip.h>
#include <WinSock2.h>
#include <iphlpapi.h>
#pragma comment(lib, "iphlpapi.lib")
#ifndef NO_ERROR