Fix compiler errors

This commit is contained in:
2025-10-28 17:33:52 +01:00
parent c5a21608d7
commit fb8ac1d5c9
7 changed files with 22 additions and 5 deletions
+4
View File
@@ -4,6 +4,10 @@
#include <stdbool.h>
#ifdef _WIN32
#include <winsock2.h>
#include <ws2tcpip.h>
#define POLL WSAPoll
#define CLOSE_SOCKET closesocket
#else
#include <poll.h>
#include <errno.h>