summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2006-11-21 16:03:30 +0000
committerH.Merijn Brand <h.m.brand@xs4all.nl>2006-11-21 16:03:30 +0000
commit33773f1a6c844b2c59f262a2b0f9af000d7d13b7 (patch)
treee1ea2abefce3e17818c9c36eb73278e7b8809d81 /hints
parent5c40187fa6a6742c5a6f3ea9d681abefbfee1ede (diff)
downloadperl-33773f1a6c844b2c59f262a2b0f9af000d7d13b7.tar.gz
Silence some warnings during Configure
p4raw-id: //depot/perl@29339
Diffstat (limited to 'hints')
-rw-r--r--hints/hpux.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/hints/hpux.sh b/hints/hpux.sh
index be1a51e688..4d105c75f0 100644
--- a/hints/hpux.sh
+++ b/hints/hpux.sh
@@ -188,7 +188,7 @@ toke_cflags='ccflags="$ccflags -DARG_ZERO_IS_SCRIPT"'
gcc_64native=no
case "$ccisgcc" in
$define|true|[Yy])
- echo 'int main(){long l;printf("%d\\n",sizeof(l));}'>try.c
+ echo '#include <stdio.h>\nint main(){long l;printf("%d\\n",sizeof(l));}'>try.c
$cc -o try $ccflags $ldflags try.c
if [ "`try`" = "8" ]; then
cat <<EOM >&4
@@ -336,6 +336,7 @@ else
## Optimization limits
cat >try.c <<EOF
+#include <stdio.h>
#include <sys/resource.h>
int main ()