summaryrefslogtreecommitdiff
path: root/dosish.h
diff options
context:
space:
mode:
authorSteve Hay <SteveHay@planit.com>2005-07-20 12:11:56 +0000
committerSteve Hay <SteveHay@planit.com>2005-07-20 12:11:56 +0000
commita3526348f2163e87ba8192a892f448a36aeaa1ed (patch)
treec33d594a09f0addd2bcad47e34c41e98b319f4bf /dosish.h
parentc079d2dba97d49efa60fc1451a03df0d1580ec2b (diff)
downloadperl-a3526348f2163e87ba8192a892f448a36aeaa1ed.tar.gz
Silence warnings about NSIG redefinition on Win32
(Change 25191 doesn't work out unless dosish.h includes <signal.h> too, which it currently only does for DJGPP) p4raw-id: //depot/perl@25199
Diffstat (limited to 'dosish.h')
-rw-r--r--dosish.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/dosish.h b/dosish.h
index e7be877d84..c41d9a721d 100644
--- a/dosish.h
+++ b/dosish.h
@@ -18,7 +18,6 @@
# define OP_BINARY O_BINARY
# define PERL_SYS_INIT(c,v) MALLOC_CHECK_TAINT2(*c,*v) Perl_DJGPP_init(c,v)
# define init_os_extras Perl_init_os_extras
-# include <signal.h>
# define HAS_UTIME
# define HAS_KILL
char *djgpp_pathexp (const char*);
@@ -119,6 +118,8 @@
*/
/* #define ALTERNATE_SHEBANG "#!" / **/
+#include <signal.h>
+
/*
* fwrite1() should be a routine with the same calling sequence as fwrite(),
* but which outputs all of the bytes requested as a single stream (unlike