summaryrefslogtreecommitdiff
path: root/doio.c
diff options
context:
space:
mode:
authorPerl 5 Porters <perl5-porters@africa.nicoh.com>1996-08-19 00:10:02 +0000
committerAndy Dougherty <doughera@lafcol.lafayette.edu>1996-08-19 00:10:02 +0000
commit7612125845c02d2d99c5f292ac704179da10f10e (patch)
tree550ad41f6160841034252ae48394bba41dc43ea8 /doio.c
parente876cf0b32fbff7591a8b395137b200dff81300d (diff)
downloadperl-7612125845c02d2d99c5f292ac704179da10f10e.tar.gz
Possibly Include <signal.h> and <unistd.h>
Diffstat (limited to 'doio.c')
-rw-r--r--doio.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/doio.c b/doio.c
index d5b3cc8ada..af51cd866e 100644
--- a/doio.c
+++ b/doio.c
@@ -43,6 +43,15 @@
#include <sys/file.h>
#endif
+#if !defined(NSIG) || defined(M_UNIX) || defined(M_XENIX)
+#include <signal.h>
+#endif
+
+/* XXX If this causes problems, set i_unistd=undef in the hint file. */
+#ifdef I_UNISTD
+# include <unistd.h>
+#endif
+
#if defined(HAS_SOCKET) && !defined(VMS) /* VMS handles sockets via vmsish.h */
# include <sys/socket.h>
# include <netdb.h>