From 61691d833631fed42b86605b09e1535e3e8d40e5 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Wed, 2 Oct 2019 23:51:20 +0200 Subject: bpo-38353: Cleanup includes in the internal C API (GH-16548) Use forward declaration of types to avoid includes in the internal C API. Add also comment to justify other includes. --- Python/import.c | 1 + 1 file changed, 1 insertion(+) (limited to 'Python/import.c') diff --git a/Python/import.c b/Python/import.c index 6eb079d2a4..cbd0fa86fb 100644 --- a/Python/import.c +++ b/Python/import.c @@ -4,6 +4,7 @@ #include "Python-ast.h" #undef Yield /* undefine macro conflicting with */ +#include "pycore_initconfig.h" #include "pycore_pyerrors.h" #include "pycore_pyhash.h" #include "pycore_pylifecycle.h" -- cgit v1.2.1