Commit 518e6109 authored by Victor Stinner's avatar Victor Stinner

Issue #19977, #19036: Always include <locale.h> in pythonrun.c

to get LC_CTYPE constant on Windows.
parent 07beb375
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
#include "ast.h" #include "ast.h"
#include "marshal.h" #include "marshal.h"
#include "osdefs.h" #include "osdefs.h"
#include <locale.h>
#ifdef HAVE_SIGNAL_H #ifdef HAVE_SIGNAL_H
#include <signal.h> #include <signal.h>
...@@ -25,7 +26,6 @@ ...@@ -25,7 +26,6 @@
#endif #endif
#ifdef HAVE_LANGINFO_H #ifdef HAVE_LANGINFO_H
#include <locale.h>
#include <langinfo.h> #include <langinfo.h>
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment