From: Nick Ing-Simmons Date: Sun, 29 Oct 2000 17:43:28 +0000 (+0000) Subject: Include to get correct lseek() prototype etc. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=02f66e2f9235025f08502389e56df70aa71733c0;p=p5sagit%2Fp5-mst-13.2.git 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 --- 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)));