summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2014-01-20 14:31:08 (GMT)
committerStefan Krah <skrah@bytereef.org>2014-01-20 14:31:08 (GMT)
commit6c01e38677550839d10b558b1a9e0e615d6e4a81 (patch)
treea64ad9886728e8507d3ce250339dcb9f16200008
parent1cfe009b96e500034faf923fff8bbf87a4c7e182 (diff)
downloadcpython-6c01e38677550839d10b558b1a9e0e615d6e4a81.zip
cpython-6c01e38677550839d10b558b1a9e0e615d6e4a81.tar.gz
cpython-6c01e38677550839d10b558b1a9e0e615d6e4a81.tar.bz2
Issue #19036: Including locale.h should not depend on HAVE_LANGINFO_H.
-rw-r--r--Misc/ACKS1
-rw-r--r--Python/fileutils.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/Misc/ACKS b/Misc/ACKS
index 6dfbd49..ba32f6b 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -545,6 +545,7 @@ Randall Hopper
Nadav Horesh
Alon Horev
Jan Hosang
+Alan Hourihane
Ken Howard
Brad Howes
Mike Hoy
diff --git a/Python/fileutils.c b/Python/fileutils.c
index dbcb923..d25111f 100644
--- a/Python/fileutils.c
+++ b/Python/fileutils.c
@@ -1,11 +1,12 @@
#include "Python.h"
#include "osdefs.h"
+#include <locale.h>
+
#ifdef MS_WINDOWS
# include <windows.h>
#endif
#ifdef HAVE_LANGINFO_H
-#include <locale.h>
#include <langinfo.h>
#endif