Skip to content

Commit

Permalink
engine: platform: posix: include sys/filio.h to have FIONBIO declarat…
Browse files Browse the repository at this point in the history
…ion for networking code
  • Loading branch information
a1batross committed Nov 7, 2024
1 parent 397f2f2 commit 6ae62e3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions engine/platform/posix/net.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ GNU General Public License for more details.
#if !XASH_PSVITA
#include <sys/ioctl.h>
#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 <netinet/in.h>
#include <arpa/inet.h>
Expand Down

0 comments on commit 6ae62e3

Please sign in to comment.