diff options
author | Nick Ing-Simmons <nik@tiuk.ti.com> | 2000-10-29 17:43:28 +0000 |
---|---|---|
committer | Nick Ing-Simmons <nik@tiuk.ti.com> | 2000-10-29 17:43:28 +0000 |
commit | 02f66e2f9235025f08502389e56df70aa71733c0 (patch) | |
tree | 7e6887d929c96fbb442c648e738ade9fddea77b9 /perlio.c | |
parent | bb9950b796df42e2f824a072ae878c87e977be20 (diff) | |
download | perl-02f66e2f9235025f08502389e56df70aa71733c0.tar.gz |
Include <unistd.h> 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
Diffstat (limited to 'perlio.c')
-rw-r--r-- | perlio.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 <unistd.h> +#endif + #undef printf void PerlIO_debug(char *fmt,...) __attribute__((format(printf,1,2))); |