From a71cd7cdf387023b3454db0a31c91c286865db8f Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Thu, 20 May 1999 07:14:39 +0000 Subject: Patches to fflushing in SunOS 4 from Andy Dougherty (via private email). p4raw-id: //depot/cfgperl@3437 --- hints/sunos_4_1.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'hints') 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 +# . +util_cflags='ccflags="$ccflags -DI_UNISTD"' cat << 'EOM' >&4 -- cgit v1.2.1