summaryrefslogtreecommitdiff
path: root/ext/POSIX/hints
diff options
context:
space:
mode:
authorAndy Dougherty <doughera@lafayette.edu>1998-05-28 09:27:25 -0400
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1998-05-28 17:59:18 +0000
commitbd89102fe7784367e3eeddc7cefae29defae903a (patch)
tree79cc385dded6a269bf4f938ac1be5a70c7e644f4 /ext/POSIX/hints
parent1d26b16b4a5b44b9f5893c8b4c8ce90d163883e5 (diff)
downloadperl-bd89102fe7784367e3eeddc7cefae29defae903a.tar.gz
[PATCH 5.004_65] Config_65-02-03.diff: SunOS and Solaris hints
Date: Thu, 28 May 1998 13:27:25 -0400 (EDT) Subject: [PATCH 5.004_65] Config_65-03-04.diff: semctl probing Date: Thu, 28 May 1998 13:28:21 -0400 (EDT) p4raw-id: //depot/perl@1047
Diffstat (limited to 'ext/POSIX/hints')
-rw-r--r--ext/POSIX/hints/sunos_4.pl6
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/POSIX/hints/sunos_4.pl b/ext/POSIX/hints/sunos_4.pl
index 59b45bc4f2..32b3558a5e 100644
--- a/ext/POSIX/hints/sunos_4.pl
+++ b/ext/POSIX/hints/sunos_4.pl
@@ -3,4 +3,8 @@
# This state of affairs also persists in glibc2, found
# on linux systems running libc6.
# XXX A Configure test is needed.
-$self->{CCFLAGS} = $Config{ccflags} . ' -DSTRUCT_TM_HASZONE' ;
+
+# Although <unistd.h> is inappropriate in general for SunOS, we need it
+# in POSIX.xs to get the correct prototype for ttyname().
+
+$self->{CCFLAGS} = $Config{ccflags} . ' -DSTRUCT_TM_HASZONE -DI_UNISTD' ;