add win32 headers, will need to refactor the lf relay using win32 aswell

This commit is contained in:
iceman1001
2026-04-10 17:05:12 +07:00
parent f070d8a06e
commit a5140dd666
+12 -1
View File
@@ -22,9 +22,20 @@
#include <limits.h>
#include <ctype.h>
#include <math.h>
#include <arpa/inet.h>
#include <unistd.h>
#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <winsock2.h>
#include <ws2tcpip.h>
#else
#include <netinet/tcp.h>
#include <arpa/inet.h>
#include <sys/socket.h>
#include <sys/un.h>
#endif
#include "cmdparser.h" // command_t
#include "comms.h"
#include "commonutil.h" // ARRAYLEN