From: Niko Tyni Date: Wed, 17 Dec 2008 20:02:51 +0000 (+0200) Subject: WCOREDUMP is in X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=de8ca8af19546d4922bab4537a72c9b2b3354009;p=p5sagit%2Fp5-mst-13.2.git WCOREDUMP is in Without this, $? & 128 doesn't get set properly on some (glibc) systems when dumping core. --- diff --git a/perl.h b/perl.h index 7d22338..c6008bb 100644 --- a/perl.h +++ b/perl.h @@ -677,6 +677,11 @@ register struct op *Perl_op asm(stringify(OP_IN_REGISTER)); # include #endif +/* for WCOREDUMP */ +#ifdef I_SYS_WAIT +# include +#endif + #ifdef __SYMBIAN32__ # undef _SC_ARG_MAX /* Symbian has _SC_ARG_MAX but no sysconf() */ #endif