QNX needs <sys/select.h> to define fd_set.
Norton T. Allen [Wed, 26 May 1999 13:51:27 +0000 (09:51 -0400)]
To: perl5-porters@perl.org
Subject: [19990526.016] Not OK: perl 5.00503 on x86-qnx 424
Message-Id:  <199905261751.NAA20966@bottesini.harvard.edu>

p4raw-id: //depot/cfgperl@3504

ext/IO/poll.c

index 5d806b6..0f8c843 100644 (file)
 #include <sys/stat.h>
 #include <errno.h>
 
+#ifdef HAS_SELECT
+#ifdef I_SYS_SELECT
+#include <sys/select.h>
+#endif
+#endif
+
 #ifdef EMULATE_POLL_WITH_SELECT
 
 # define POLL_CAN_READ (POLLIN | POLLRDNORM )