summaryrefslogtreecommitdiff
path: root/hints/hpux.sh
diff options
context:
space:
mode:
Diffstat (limited to 'hints/hpux.sh')
-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 ()