summaryrefslogtreecommitdiffstats
path: root/Python
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 /Python
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.
Diffstat (limited to 'Python')
-rw-r--r--Python/fileutils.c3
1 files changed, 2 insertions, 1 deletions
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