summaryrefslogtreecommitdiff
path: root/pp_sys.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-03-30 08:59:24 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-03-30 08:59:24 +0000
commit4e80e7c5725665b3bafef4fcead53e20131b5369 (patch)
treeab26bc5edcfc92ed76b5627f721771b94c5ddcca /pp_sys.c
parent368e8af92165901b8847db2c456b3930fb8e583c (diff)
downloadperl-4e80e7c5725665b3bafef4fcead53e20131b5369.tar.gz
In IRIX 5.3 the cc is awfully confused about the prototype
of select(). p4raw-id: //depot/perl@19086
Diffstat (limited to 'pp_sys.c')
-rw-r--r--pp_sys.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/pp_sys.c b/pp_sys.c
index 5c8fd07a74..3c22a76a80 100644
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -1073,6 +1073,9 @@ PP(pp_sselect)
(Select_fd_set_t) fd_sets[1],
(Select_fd_set_t) fd_sets[2],
(Select_fd_set_t) fd_sets[3],
+#ifdef PERL_IRIX5_SELECT_TIMEVAL_VOID_CAST
+ (void*) /* Workaround for a compiler bug. */
+#endif
tbuf);
for (i = 1; i <= 3; i++) {
if (fd_sets[i]) {