summaryrefslogtreecommitdiff
path: root/Python/initconfig.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-04-14 14:26:24 +0200
committerGitHub <noreply@github.com>2020-04-14 14:26:24 +0200
commit4a3fe0835310643193ea45529ab0fb45c5f8f2fd (patch)
tree6d112c3be1763e9185f805d19581347d1fc332ee /Python/initconfig.c
parent8ef875028a3644a329c87ce420a73793e315143f (diff)
downloadcpython-git-4a3fe0835310643193ea45529ab0fb45c5f8f2fd.tar.gz
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/initconfig.c')
-rw-r--r--Python/initconfig.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/initconfig.c b/Python/initconfig.c
index e63d6f64f3..43e0ccb09b 100644
--- a/Python/initconfig.c
+++ b/Python/initconfig.c
@@ -3,6 +3,7 @@
#include "pycore_fileutils.h"
#include "pycore_getopt.h"
#include "pycore_initconfig.h"
+#include "pycore_interp.h" // _PyInterpreterState.runtime
#include "pycore_pathconfig.h"
#include "pycore_pyerrors.h"
#include "pycore_pylifecycle.h"