From 0f21118ad795545cfed0cd71c796dbf73effac3e Mon Sep 17 00:00:00 2001 From: savis <106487343+savisxss@users.noreply.github.com> Date: Sat, 27 Dec 2025 01:19:42 +0100 Subject: [PATCH] Guard netinet/tcp.h include for non-Windows platforms --- src/libthecore/socket.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libthecore/socket.cpp b/src/libthecore/socket.cpp index db61f10..1a440fb 100644 --- a/src/libthecore/socket.cpp +++ b/src/libthecore/socket.cpp @@ -1,5 +1,7 @@ #include "stdafx.h" +#ifndef OS_WINDOWS #include +#endif /* Forwards */ void socket_lingeron(socket_t s);