summaryrefslogtreecommitdiff
path: root/hints/sunos_4_1.sh
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-05-20 07:14:39 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-05-20 07:14:39 +0000
commita71cd7cdf387023b3454db0a31c91c286865db8f (patch)
tree8a4e9514080087a87dc92b47dae26843e4bf72f4 /hints/sunos_4_1.sh
parent160a7e377219ff437f0692a89b2530a641a78eb5 (diff)
downloadperl-a71cd7cdf387023b3454db0a31c91c286865db8f.tar.gz
Patches to fflushing in SunOS 4 from Andy Dougherty
(via private email). p4raw-id: //depot/cfgperl@3437
Diffstat (limited to 'hints/sunos_4_1.sh')
-rw-r--r--hints/sunos_4_1.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/hints/sunos_4_1.sh b/hints/sunos_4_1.sh
index 4585d793d7..6d94bdbd1f 100644
--- a/hints/sunos_4_1.sh
+++ b/hints/sunos_4_1.sh
@@ -25,8 +25,12 @@ d_tzname='undef'
# The gcc fix-includes script exposes those incorrect prototypes.
# There may be other examples as well. Volunteers are welcome to
# track them all down :-). In the meantime, we'll just skip unistd.h
-# for SunOS in most of the code. (However, see ext/POSIX/hints/sunos_4.pl.)
+# for SunOS in most of the code.
+# However, see ext/POSIX/hints/sunos_4.pl for one exception.
i_unistd='undef'
+# See util.c for another: We need _SC_OPEN_MAX, which is in
+# <unistd.h>.
+util_cflags='ccflags="$ccflags -DI_UNISTD"'
cat << 'EOM' >&4