summaryrefslogtreecommitdiff
path: root/Python/sysmodule.c
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2016-04-25 21:38:53 +0200
committerStefan Krah <skrah@bytereef.org>2016-04-25 21:38:53 +0200
commit59068deeb6dfc2764bc46e4686fd624c01849966 (patch)
tree5392cddd6a16af22c48f518822ae97e2e112db6a /Python/sysmodule.c
parent5c6428001ccb23f21a9df5edc0b6b31431b1dffb (diff)
downloadcpython-59068deeb6dfc2764bc46e4686fd624c01849966.tar.gz
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 0c68c544b0..b5199125a5 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