summaryrefslogtreecommitdiffstats
path: root/Python/pystate.c
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2022-01-13 22:54:36 (GMT)
committerGitHub <noreply@github.com>2022-01-13 22:54:36 (GMT)
commitbc02eac9d2cb36faffc5027b7ce09e6dd0922a7f (patch)
treeebb4db98393a375ee76553e6d703a25cfbf1e1bf /Python/pystate.c
parent276c234ce0fa6732237f1b187989837324d9dea3 (diff)
downloadcpython-bc02eac9d2cb36faffc5027b7ce09e6dd0922a7f.zip
cpython-bc02eac9d2cb36faffc5027b7ce09e6dd0922a7f.tar.gz
cpython-bc02eac9d2cb36faffc5027b7ce09e6dd0922a7f.tar.bz2
bpo-46370: Move the static initializer for _PyRuntime to its own header file. (gh-30587)
https://bugs.python.org/issue46370
Diffstat (limited to 'Python/pystate.c')
-rw-r--r--Python/pystate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/pystate.c b/Python/pystate.c
index a18a159..e617585 100644
--- a/Python/pystate.c
+++ b/Python/pystate.c
@@ -10,6 +10,7 @@
#include "pycore_pylifecycle.h"
#include "pycore_pymem.h" // _PyMem_SetDefaultAllocator()
#include "pycore_pystate.h" // _PyThreadState_GET()
+#include "pycore_runtime_init.h" // _PyRuntimeState_INIT
#include "pycore_sysmodule.h"
/* --------------------------------------------------------------------------