engine: platform: posix: include sys/filio.h to have FIONBIO declaration for networking code

This commit is contained in:
Alibek Omarov 2024-11-07 07:42:07 +03:00
parent 397f2f208a
commit 6ae62e3bb1

View file

@ -20,6 +20,9 @@ GNU General Public License for more details.
#if !XASH_PSVITA #if !XASH_PSVITA
#include <sys/ioctl.h> #include <sys/ioctl.h>
#endif #endif
#if XASH_SUNOS // TODO: figure out if we need this header on other systems
#include <sys/filio.h>
#endif
#include <sys/select.h> #include <sys/select.h>
#include <netinet/in.h> #include <netinet/in.h>
#include <arpa/inet.h> #include <arpa/inet.h>