From 02f66e2f9235025f08502389e56df70aa71733c0 Mon Sep 17 00:00:00 2001 From: Nick Ing-Simmons Date: Sun, 29 Oct 2000 17:43:28 +0000 Subject: [PATCH] Include to get correct lseek() prototype etc. (I thought perl.h did that) - down to two fails - comp/require.t (last test) - lib/io_xs.t - possibly import/export of FILE * ? p4raw-id: //depot/perlio@7482 --- perlio.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/perlio.c b/perlio.c index 066d813..6224b76 100644 --- a/perlio.c +++ b/perlio.c @@ -7,7 +7,6 @@ * */ - #define VOIDUSED 1 #ifdef PERL_MICRO # include "uconfig.h" @@ -91,6 +90,10 @@ PerlIO_init(void) /* Implement all the PerlIO interface ourselves. */ +#ifdef I_UNISTD +#include +#endif + #undef printf void PerlIO_debug(char *fmt,...) __attribute__((format(printf,1,2))); -- 2.7.4