projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
640238c
)
WCOREDUMP is in <sys/wait.h>
author
Niko Tyni
<ntyni@debian.org>
Wed, 17 Dec 2008 20:02:51 +0000
(22:02 +0200)
committer
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Sun, 21 Dec 2008 08:59:58 +0000
(09:59 +0100)
Without this, $? & 128 doesn't get set properly on some (glibc) systems
when dumping core.
perl.h
patch
|
blob
|
history
diff --git
a/perl.h
b/perl.h
index
7d22338
..
c6008bb
100644
(file)
--- a/
perl.h
+++ b/
perl.h
@@
-677,6
+677,11
@@
register struct op *Perl_op asm(stringify(OP_IN_REGISTER));
# include <unistd.h>
#endif
+/* for WCOREDUMP */
+#ifdef I_SYS_WAIT
+# include <sys/wait.h>
+#endif
+
#ifdef __SYMBIAN32__
# undef _SC_ARG_MAX /* Symbian has _SC_ARG_MAX but no sysconf() */
#endif