summaryrefslogtreecommitdiff
path: root/perlio.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-09-14 15:21:28 +0200
committerNicholas Clark <nick@ccl4.org>2011-09-15 11:10:50 +0200
commit75006f0f4402bbabe02553499aa6e8b7687138fc (patch)
treea95605b0081e999aaf2e88330d11a1f1ea08a615 /perlio.c
parent877c86f70c562bc8c090bb55c3d7bb7ee1cc0b90 (diff)
downloadperl-75006f0f4402bbabe02553499aa6e8b7687138fc.tar.gz
Don't #include headers already included by perl.h
097ee67dff1c60f2 didn't need to include <locale.h> in locale.c (then util.c) because it had been included by perl.h since 5.002 beta 1 3f270f98f9305540 missed removing the include of <unistd.h> from perl.c or perlio.c de8ca8af19546d49 changed perl.h to also include <sys/wait.h>, but didn't notice that it code therefore be removed from perl.c, pp_sys.c and util.c
Diffstat (limited to 'perlio.c')
-rw-r--r--perlio.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/perlio.c b/perlio.c
index 7e560dee7b..f0d67aecd9 100644
--- a/perlio.c
+++ b/perlio.c
@@ -451,13 +451,6 @@ PerlIO_findFILE(PerlIO *pio)
#include "perliol.h"
-/*
- * We _MUST_ have <unistd.h> if we are using lseek() and may have large
- * files
- */
-#ifdef I_UNISTD
-#include <unistd.h>
-#endif
#ifdef HAS_MMAP
#include <sys/mman.h>
#endif