summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorton T. Allen <allen@huarp.harvard.edu>1999-05-26 09:51:27 -0400
committerJarkko Hietaniemi <jhi@iki.fi>1999-05-29 11:07:10 +0000
commit465a6d9ae5ab40b1ce4df1a9bfec4f9247dd9272 (patch)
treef7a437a63276e056a8f1014eb2b0f42295b8a209
parenteaeb0b243caaadc44d2b5d951d6ec4dc308789d8 (diff)
downloadperl-465a6d9ae5ab40b1ce4df1a9bfec4f9247dd9272.tar.gz
QNX needs <sys/select.h> to define fd_set.
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
-rw-r--r--ext/IO/poll.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/IO/poll.c b/ext/IO/poll.c
index 5d806b60f3..0f8c8434f2 100644
--- a/ext/IO/poll.c
+++ b/ext/IO/poll.c
@@ -26,6 +26,12 @@
#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 )