summaryrefslogtreecommitdiffstats
path: root/Modules/clinic/_heapqmodule.c.h
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/clinic/_heapqmodule.c.h')
-rw-r--r--Modules/clinic/_heapqmodule.c.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/Modules/clinic/_heapqmodule.c.h b/Modules/clinic/_heapqmodule.c.h
index 8d73b5b..3ee3f51 100644
--- a/Modules/clinic/_heapqmodule.c.h
+++ b/Modules/clinic/_heapqmodule.c.h
@@ -2,6 +2,12 @@
preserve
[clinic start generated code]*/
+#if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
+# include "pycore_gc.h" // PyGC_Head
+# include "pycore_runtime.h" // _Py_ID()
+#endif
+
+
PyDoc_STRVAR(_heapq_heappush__doc__,
"heappush($module, heap, item, /)\n"
"--\n"
@@ -265,4 +271,4 @@ _heapq__heapify_max(PyObject *module, PyObject *arg)
exit:
return return_value;
}
-/*[clinic end generated code: output=9a22715a8bf0c91d input=a9049054013a1b77]*/
+/*[clinic end generated code: output=29e99a48c57f82bb input=a9049054013a1b77]*/