diff options
author | Victor Stinner <vstinner@python.org> | 2020-06-22 18:02:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-22 18:02:49 +0200 |
commit | c96d00e88ead8f99bb6aa1357928ac4545d9287c (patch) | |
tree | b538fb0f20c9e7a4aebea673ec6fed704843275a /Python/bltinmodule.c | |
parent | 1937edd376274cb26090d71253191502a9de32d6 (diff) | |
download | cpython-git-c96d00e88ead8f99bb6aa1357928ac4545d9287c.tar.gz |
bpo-41078: Fix bltinmodule.c with Py_TRACE_REFS (GH-21058)
Add pycore_object.h include to fix bltinmodule.c when Py_TRACE_REFS
macro is defined.
Diffstat (limited to 'Python/bltinmodule.c')
-rw-r--r-- | Python/bltinmodule.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index a582ccda2c..89b7fce8f4 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c @@ -4,6 +4,7 @@ #include <ctype.h> #include "ast.h" #undef Yield /* undefine macro conflicting with <winbase.h> */ +#include "pycore_object.h" // _Py_AddToAllObjects() #include "pycore_pyerrors.h" // _PyErr_NoMemory() #include "pycore_pystate.h" // _PyThreadState_GET() #include "pycore_tuple.h" // _PyTuple_FromArray() |