From cd63f5a1b3155054f4d9a955784ffbda7e7b5883 Mon Sep 17 00:00:00 2001 From: Evgeny Date: Tue, 14 Apr 2026 21:33:10 +0300 Subject: [PATCH] add sockets to gui --- src/etcp_connections.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/etcp_connections.c b/src/etcp_connections.c index ff32164e..b55c18bd 100644 --- a/src/etcp_connections.c +++ b/src/etcp_connections.c @@ -4,6 +4,11 @@ #ifndef _WIN32 #include #include +#else +#include +#include +#define htobe16(x) htons(x) +#define be16toh(x) ntohs(x) #endif #include #include