summaryrefslogtreecommitdiffstats
path: root/Modules/_winapi.c
diff options
context:
space:
mode:
authorNikita Sobolev <mail@sobolevn.me>2023-07-04 14:19:20 (GMT)
committerGitHub <noreply@github.com>2023-07-04 14:19:20 (GMT)
commit80f1c6c49b4cd2bf698eb2bc3d2f3da904880dd2 (patch)
tree7c554c356f253b8a380a0dc175369305b46eeb81 /Modules/_winapi.c
parentdfe4de203881e8d068e6fc5b8e31075841a86d25 (diff)
downloadcpython-80f1c6c49b4cd2bf698eb2bc3d2f3da904880dd2.zip
cpython-80f1c6c49b4cd2bf698eb2bc3d2f3da904880dd2.tar.gz
cpython-80f1c6c49b4cd2bf698eb2bc3d2f3da904880dd2.tar.bz2
gh-106406: Fix _Py_IsInterpreterFinalizing() in _winapi.c (#106408)
Diffstat (limited to 'Modules/_winapi.c')
-rw-r--r--Modules/_winapi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/_winapi.c b/Modules/_winapi.c
index d4291f5..313c12a 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