summaryrefslogtreecommitdiff
path: root/Python/sysmodule.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/sysmodule.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/sysmodule.c')
-rw-r--r--Python/sysmodule.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
index fd0a9c0bf5..814e4abad5 100644
--- a/Python/sysmodule.c
+++ b/Python/sysmodule.c
@@ -17,7 +17,9 @@ Data members:
#include "Python.h"
#include "code.h"
#include "frameobject.h"
-#include "pycore_ceval.h"
+#include "pycore_ceval.h" // _Py_RecursionLimitLowerWaterMark()
+#include "pycore_pystate.h" // _PyThreadState_GET()
+#include "pycore_tupleobject.h"
#include "pycore_initconfig.h"
#include "pycore_pathconfig.h"
#include "pycore_pyerrors.h"