This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Include <stdio.h> in getpgrp/setpgrp probes for printf prototype.
[perl5.git] / Configure
index 8d67b39..a50034f 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -11289,6 +11289,7 @@ case "$d_getpgrp" in
        echo " "
        echo "Checking to see which flavor of getpgrp is in use..."
        $cat >try.c <<EOP
+#include <stdio.h>
 #$i_unistd I_UNISTD
 #include <sys/types.h>
 #ifdef I_UNISTD
@@ -11355,6 +11356,7 @@ case "$d_setpgrp" in
        echo " "
        echo "Checking to see which flavor of setpgrp is in use..."
        $cat >try.c <<EOP
+#include <stdio.h>
 #$i_unistd I_UNISTD
 #include <sys/types.h>
 #ifdef I_UNISTD