summaryrefslogtreecommitdiffstats
path: root/Python/sysmodule.c
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2016-04-25 19:38:53 (GMT)
committerStefan Krah <skrah@bytereef.org>2016-04-25 19:38:53 (GMT)
commit1845d144bc58be7b245bb02da3245c5e01760621 (patch)
tree80427eee9b71742ac663544262c5f3aa46460643 /Python/sysmodule.c
parent0996fa3bd827e68eccf359823c8bc3518075abb4 (diff)
downloadcpython-1845d144bc58be7b245bb02da3245c5e01760621.zip
cpython-1845d144bc58be7b245bb02da3245c5e01760621.tar.gz
cpython-1845d144bc58be7b245bb02da3245c5e01760621.tar.bz2
Issue #17905: Do not guard locale include with HAVE_LANGINFO_H.
Diffstat (limited to 'Python/sysmodule.c')
-rw-r--r--Python/sysmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
index 0c68c54..b519912 100644
--- a/Python/sysmodule.c
+++ b/Python/sysmodule.c
@@ -20,6 +20,7 @@ Data members:
#include "pythread.h"
#include "osdefs.h"
+#include <locale.h>
#ifdef MS_WINDOWS
#define WIN32_LEAN_AND_MEAN
@@ -33,7 +34,6 @@ extern const char *PyWin_DLLVersionString;
#endif
#ifdef HAVE_LANGINFO_H
-#include <locale.h>
#include <langinfo.h>
#endif