summaryrefslogtreecommitdiff
path: root/locale.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 /locale.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 'locale.c')
-rw-r--r--locale.c4
1 files changed, 0 insertions, 4 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