From a45f25361d582ce742fef7f23e7feadd19b67460 Mon Sep 17 00:00:00 2001 From: Mark Shannon Date: Mon, 17 Mar 2025 14:41:05 +0000 Subject: GH-131238: More refactoring of core header files (GH-131351) Adds new pycore_stats.h header file to help break dependencies involving the pycore_code.h header. --- Python/importdl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Python/importdl.c') diff --git a/Python/importdl.c b/Python/importdl.c index 87c44891407..73fedc4ba5f 100644 --- a/Python/importdl.c +++ b/Python/importdl.c @@ -4,7 +4,8 @@ #include "Python.h" #include "pycore_call.h" // _PyObject_CallMethod() #include "pycore_import.h" // _PyImport_SwapPackageContext() -#include "pycore_importdl.h" // struct _Py_ext_module_loader_info +#include "pycore_importdl.h" +#include "pycore_moduleobject.h" // _PyModule_GetDef() #include "pycore_moduleobject.h" // _PyModule_GetDef() #include "pycore_pyerrors.h" // _PyErr_FormatFromCause() #include "pycore_runtime.h" // _Py_ID() -- cgit v1.2.3