summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--locale.c4
-rw-r--r--perl.c8
-rw-r--r--perlio.c7
-rw-r--r--pp_sys.c4
-rw-r--r--util.c4
5 files changed, 0 insertions, 27 deletions
diff --git a/locale.c b/locale.c
index 81c09ab4ec..b7a78fbea9 100644
--- a/locale.c
+++ b/locale.c
@@ -28,10 +28,6 @@
#define PERL_IN_LOCALE_C
#include "perl.h"
-#ifdef I_LOCALE
-# include <locale.h>
-#endif
-
#ifdef I_LANGINFO
# include <langinfo.h>
#endif
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
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
diff --git a/pp_sys.c b/pp_sys.c
index ca951e81d2..eb324dfc2e 100644
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -49,10 +49,6 @@
# include <shadow.h>
#endif
-#ifdef I_SYS_WAIT
-# include <sys/wait.h>
-#endif
-
#ifdef I_SYS_RESOURCE
# include <sys/resource.h>
#endif
diff --git a/util.c b/util.c
index 70a1496f59..82d75904bd 100644
--- a/util.c
+++ b/util.c
@@ -41,10 +41,6 @@
int putenv(char *);
#endif
-#ifdef I_SYS_WAIT
-# include <sys/wait.h>
-#endif
-
#ifdef HAS_SELECT
# ifdef I_SYS_SELECT
# include <sys/select.h>