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. --- Include/internal/pycore_pystate.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Include/internal/pycore_pystate.h') diff --git a/Include/internal/pycore_pystate.h b/Include/internal/pycore_pystate.h index 748aa63a43..2e783781ad 100644 --- a/Include/internal/pycore_pystate.h +++ b/Include/internal/pycore_pystate.h @@ -8,8 +8,7 @@ extern "C" { # error "this header requires Py_BUILD_CORE define" #endif -#include "pycore_interp.h" /* PyInterpreterState */ -#include "pycore_runtime.h" /* PyRuntimestate */ +#include "pycore_runtime.h" /* PyRuntimeState */ /* Check if the current thread is the main thread. -- cgit v1.2.1