From: Nikita Sobolev Date: Tue, 4 Jul 2023 14:19:20 +0000 (+0300) Subject: gh-106406: Fix _Py_IsInterpreterFinalizing() in _winapi.c (#106408) X-Git-Tag: v3.13.0a1~1523 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=80f1c6c49b4cd2bf698eb2bc3d2f3da904880dd2;p=thirdparty%2FPython%2Fcpython.git gh-106406: Fix _Py_IsInterpreterFinalizing() in _winapi.c (#106408) --- diff --git a/Modules/_winapi.c b/Modules/_winapi.c index d4291f557b6a..313c12a34c67 100644 --- a/Modules/_winapi.c +++ b/Modules/_winapi.c @@ -36,6 +36,7 @@ #include "Python.h" #include "pycore_moduleobject.h" // _PyModule_GetState() +#include "pycore_pylifecycle.h" // _Py_IsInterpreterFinalizing() #include "pycore_pystate.h" // _PyInterpreterState_GET #include "structmember.h" // PyMemberDef