diff options
author | Victor Stinner <vstinner@python.org> | 2020-04-14 12:26:24 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-14 12:26:24 (GMT) |
commit | 4a3fe0835310643193ea45529ab0fb45c5f8f2fd (patch) | |
tree | 6d112c3be1763e9185f805d19581347d1fc332ee /Python/preconfig.c | |
parent | 8ef875028a3644a329c87ce420a73793e315143f (diff) | |
download | cpython-4a3fe0835310643193ea45529ab0fb45c5f8f2fd.zip cpython-4a3fe0835310643193ea45529ab0fb45c5f8f2fd.tar.gz cpython-4a3fe0835310643193ea45529ab0fb45c5f8f2fd.tar.bz2 |
bpo-40268: Include explicitly pycore_interp.h (GH-19505)
pycore_pystate.h no longer includes pycore_interp.h:
it's now included explicitly in files accessing PyInterpreterState.
Diffstat (limited to 'Python/preconfig.c')
-rw-r--r-- | Python/preconfig.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Python/preconfig.c b/Python/preconfig.c index 89a6227..db32875 100644 --- a/Python/preconfig.c +++ b/Python/preconfig.c @@ -1,8 +1,9 @@ #include "Python.h" -#include "pycore_initconfig.h" #include "pycore_getopt.h" -#include "pycore_pystate.h" /* _PyRuntime_Initialize() */ -#include <locale.h> /* setlocale() */ +#include "pycore_initconfig.h" +#include "pycore_pymem.h" // _PyMem_GetAllocatorName() +#include "pycore_pystate.h" // _PyRuntime_Initialize() +#include <locale.h> // setlocale() #define DECODE_LOCALE_ERR(NAME, LEN) \ |