summaryrefslogtreecommitdiff
path: root/perlio.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2006-08-03 12:04:45 +0300
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-08-03 08:15:51 +0000
commit89a3a25144bc97d46d0d41909341c587a8b6c2cc (patch)
treede12d018fdc82c236482cb89cf2d4130a6826ee4 /perlio.c
parentf38c1908cf9793644d5d867fb064b79b773c2c16 (diff)
downloadperl-89a3a25144bc97d46d0d41909341c587a8b6c2cc.tar.gz
more g++ in Tru64
Message-ID: <44D191FD.9030902@iki.fi> p4raw-id: //depot/perl@28654
Diffstat (limited to 'perlio.c')
-rw-r--r--perlio.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/perlio.c b/perlio.c
index 30e3e6ceac..817026f8d1 100644
--- a/perlio.c
+++ b/perlio.c
@@ -114,6 +114,11 @@ int mkstemp(char*);
else \
SETERRNO(EBADF, SS_IVCHAN)
+#if defined(__osf__) && _XOPEN_SOURCE < 500
+extern int fseeko(FILE *, off_t, int);
+extern off_t ftello(FILE *);
+#endif
+
#ifndef USE_SFIO
int
perlsio_binmode(FILE *fp, int iotype, int mode)