This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
RE: [perl #26136] localtime(3) calls tzset(3), but localtime_r(3) may not.
[metaconfig.git] / U / modified / d_getpgrp.U
index 02b2876..61127b0 100644 (file)
@@ -16,7 +16,7 @@
 ?RCS: Baseline for dist 3.0 netwide release.
 ?RCS:
 ?MAKE:d_getpgrp d_bsdgetpgrp: Guess Inlibc Setvar cat rm \
-       +cc +ccflags +ldflags +libs i_unistd run
+       +cc +ccflags +ldflags +libs i_unistd i_stdlib run
 ?MAKE: -pick add $@ %<
 ?S:d_getpgrp:
 ?S:    This variable conditionally defines HAS_GETPGRP if getpgrp() is
@@ -54,6 +54,10 @@ case "$d_getpgrp" in
 #ifdef I_UNISTD
 #  include <unistd.h>
 #endif
+#$i_stdlib I_STDLIB
+#ifdef I_STDLIB
+#include <stdlib.h>
+#endif
 int main()
 {
        if (getuid() == 0) {