summaryrefslogtreecommitdiff
path: root/Python
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2014-01-20 15:31:08 +0100
committerStefan Krah <skrah@bytereef.org>2014-01-20 15:31:08 +0100
commit4224d21bb8266db7dd385f94de9597776ee624fa (patch)
tree10ad83fd781c10b62e875301dfc0dbc3d529b114 /Python
parent156ac84d0d836da0a47806f8967a534f4b255a97 (diff)
downloadcpython-4224d21bb8266db7dd385f94de9597776ee624fa.tar.gz
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 dbcb9234e0..d25111f4bb 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