summaryrefslogtreecommitdiff
path: root/perl.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 /perl.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 'perl.c')
-rw-r--r--perl.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/perl.c b/perl.c
index fa8856617f..0b3d9c6723 100644
--- a/perl.c
+++ b/perl.c
@@ -38,15 +38,7 @@
#include "nwutil.h"
#endif
-/* XXX If this causes problems, set i_unistd=undef in the hint file. */
-#ifdef I_UNISTD
-#include <unistd.h>
-#endif
-
#ifdef DEBUG_LEAKING_SCALARS_FORK_DUMP
-# ifdef I_SYS_WAIT
-# include <sys/wait.h>
-# endif
# ifdef I_SYSUIO
# include <sys/uio.h>
# endif