From 4a3fe0835310643193ea45529ab0fb45c5f8f2fd Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Tue, 14 Apr 2020 14:26:24 +0200 Subject: 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. --- Python/sysmodule.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Python/sysmodule.c') 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" -- cgit v1.2.1