From 6ae62e3bb1fd29ab5f389a76bd130ef5733282c1 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Thu, 7 Nov 2024 07:42:07 +0300 Subject: [PATCH] engine: platform: posix: include sys/filio.h to have FIONBIO declaration for networking code --- engine/platform/posix/net.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/engine/platform/posix/net.h b/engine/platform/posix/net.h index 8353baf1..58532927 100644 --- a/engine/platform/posix/net.h +++ b/engine/platform/posix/net.h @@ -20,6 +20,9 @@ GNU General Public License for more details. #if !XASH_PSVITA #include #endif +#if XASH_SUNOS // TODO: figure out if we need this header on other systems +#include +#endif #include #include #include