This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Newer NetBSDs don't have NSIG in <sys/signal.h>, they need <signal.h>.
authorJarkko Hietaniemi <jhi@iki.fi>
Sun, 29 Nov 1998 19:59:12 +0000 (19:59 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Sun, 29 Nov 1998 19:59:12 +0000 (19:59 +0000)
p4raw-id: //depot/cfgperl@2395

util.c

diff --git a/util.c b/util.c
index 10f1cc7..3b9262f 100644 (file)
--- a/util.c
+++ b/util.c
@@ -15,7 +15,8 @@
 #include "EXTERN.h"
 #include "perl.h"
 
-#if !defined(NSIG) || defined(M_UNIX) || defined(M_XENIX)
+/* XXX Configure test needed */
+#if !defined(NSIG) || defined(M_UNIX) || defined(M_XENIX) || defined(__NetBSD__)
 #include <signal.h>
 #endif