summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doio.c2
-rw-r--r--doop.c2
-rw-r--r--mg.c2
-rw-r--r--mpeix/mpeixish.h2
-rw-r--r--plan9/plan9ish.h2
-rw-r--r--unixish.h2
-rw-r--r--util.c2
7 files changed, 7 insertions, 7 deletions
diff --git a/doio.c b/doio.c
index af4d17d487..40287f9a2b 100644
--- a/doio.c
+++ b/doio.c
@@ -48,7 +48,7 @@
# define OPEN_EXCL 0
#endif
-#if !defined(NSIG) || defined(M_UNIX) || defined(M_XENIX)
+#if !defined(NSIG) || defined(M_UNIX) || defined(__unix) || defined(M_XENIX)
#include <signal.h>
#endif
diff --git a/doop.c b/doop.c
index 5a41f6ac42..91c7ae1b63 100644
--- a/doop.c
+++ b/doop.c
@@ -17,7 +17,7 @@
#include "perl.h"
#ifndef PERL_MICRO
-#if !defined(NSIG) || defined(M_UNIX) || defined(M_XENIX)
+#if !defined(NSIG) || defined(M_UNIX) || defined(__unix) || defined(M_XENIX)
#include <signal.h>
#endif
#endif
diff --git a/mg.c b/mg.c
index 4ef7910bd6..0cd694038a 100644
--- a/mg.c
+++ b/mg.c
@@ -398,7 +398,7 @@ Perl_mg_free(pTHX_ SV *sv)
}
-#if !defined(NSIG) || defined(M_UNIX) || defined(M_XENIX)
+#if !defined(NSIG) || defined(M_UNIX) || defined(__unix) || defined(M_XENIX)
#include <signal.h>
#endif
diff --git a/mpeix/mpeixish.h b/mpeix/mpeixish.h
index 658e72ef87..4e96f0ec4a 100644
--- a/mpeix/mpeixish.h
+++ b/mpeix/mpeixish.h
@@ -87,7 +87,7 @@
*/
/* #define ALTERNATE_SHEBANG "#!" / **/
-#if !defined(NSIG) || defined(M_UNIX) || defined(M_XENIX)
+#if !defined(NSIG) || defined(M_UNIX) || defined(__unix) || defined(M_XENIX)
# include <signal.h>
#endif
diff --git a/plan9/plan9ish.h b/plan9/plan9ish.h
index 5c922cf0ba..1469e10211 100644
--- a/plan9/plan9ish.h
+++ b/plan9/plan9ish.h
@@ -93,7 +93,7 @@
*/
/* #define ALTERNATE_SHEBANG "#!" / **/
-#if !defined(NSIG) || defined(M_UNIX) || defined(M_XENIX)
+#if !defined(NSIG) || defined(M_UNIX) || defined(__unix) || defined(M_XENIX)
# include <signal.h>
#endif
diff --git a/unixish.h b/unixish.h
index 4bf37095a0..65ce7d6f16 100644
--- a/unixish.h
+++ b/unixish.h
@@ -103,7 +103,7 @@
*/
/* #define ALTERNATE_SHEBANG "#!" / **/
-#if !defined(NSIG) || defined(M_UNIX) || defined(M_XENIX) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__)
+#if !defined(NSIG) || defined(M_UNIX) || defined(__unix) || defined(M_XENIX) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__)
# include <signal.h>
#endif
diff --git a/util.c b/util.c
index 4a1a45ff4d..602bc9bbdb 100644
--- a/util.c
+++ b/util.c
@@ -18,7 +18,7 @@
#include "perl.h"
#ifndef PERL_MICRO
-#if !defined(NSIG) || defined(M_UNIX) || defined(M_XENIX)
+#if !defined(NSIG) || defined(M_UNIX) || defined(__unix) || defined(M_XENIX)
#include <signal.h>
#endif