From bbf71856bb144729af4ed08af6bc2f5826a96db5 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Mon, 10 Jun 2024 23:44:39 -0500 Subject: [PATCH] Use SO_NONBLOCK on Haiku --- unix.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/unix.c b/unix.c index ef9e426d..b774567c 100644 --- a/unix.c +++ b/unix.c @@ -143,6 +143,10 @@ #ifndef NO_MSGAPI #define NO_MSGAPI 1 #endif +#elif defined(__HAIKU__) +#ifndef HAS_POLL +#define HAS_POLL 1 +#endif #else #ifndef HAS_IOCTL #define HAS_IOCTL 1