summaryrefslogtreecommitdiff
path: root/locale.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2022-09-02 09:59:00 -0600
committerKarl Williamson <khw@cpan.org>2022-09-10 12:26:52 -0600
commita760196638a4338f0a19155c78b1011e58784d8b (patch)
treec3b4f207502386393e0a287eee607ffd61c89025 /locale.c
parentef4243669d823be16f3bfc156d92e3d61964b87a (diff)
downloadperl-a760196638a4338f0a19155c78b1011e58784d8b.tar.gz
Move #include from locale.c to perl.h
Without this commit, Perl won't compile if -DUSE_NL_LOCALE_NAME is specified to Configure. This is an undocumented feature that uses an undocumented glibc feature that is effectively the querylocale() found on Darwin and some other systems. POSIX 2017 has added a querylocale-like function to the repertoire, and should eventually supplant this option.
Diffstat (limited to 'locale.c')
-rw-r--r--locale.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/locale.c b/locale.c
index e4bb81825f..4c70779014 100644
--- a/locale.c
+++ b/locale.c
@@ -107,7 +107,6 @@ static int debug_initialization = 0;
#include "EXTERN.h"
#define PERL_IN_LOCALE_C
-#include "perl_langinfo.h"
#include "perl.h"
#include "reentr.h"