summaryrefslogtreecommitdiff
path: root/pp_sys.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2006-08-04 01:59:37 +0300
committerSteve Peters <steve@fisharerojo.org>2006-08-03 20:18:28 +0000
commitfdd78bafb83473399368c22ad797c178b3913c97 (patch)
treeaa431dbe57b0705cf9cd8fe2fd60362d2a26560f /pp_sys.c
parent89a3a25144bc97d46d0d41909341c587a8b6c2cc (diff)
downloadperl-fdd78bafb83473399368c22ad797c178b3913c97.tar.gz
Tru64 oops
Message-Id: <200608031959.k73JxbsC395856@kosh.hut.fi> p4raw-id: //depot/perl@28655
Diffstat (limited to 'pp_sys.c')
-rw-r--r--pp_sys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp_sys.c b/pp_sys.c
index 34ddf8c9a2..690bc9d381 100644
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -197,7 +197,7 @@ void setservent(int);
void endservent(void);
#endif
-#if defined(__osf__) && !defined(_XOPEN_SOURCE_EXTENDED)
+#if defined(__osf__) && defined(__cplusplus) && !defined(_XOPEN_SOURCE_EXTENDED)
extern int readlink(const char *, char *, size_t);
extern int fchdir(int);
#endif