Possibly Include <signal.h> and <unistd.h>
Perl 5 Porters [Mon, 19 Aug 1996 00:10:02 +0000 (00:10 +0000)]
doio.c

diff --git a/doio.c b/doio.c
index d5b3cc8..af51cd8 100644 (file)
--- a/doio.c
+++ b/doio.c
 #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>