commit | 61691d833631fed42b86605b09e1535e3e8d40e5 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@redhat.com> | Wed Oct 02 23:51:20 2019 +0200 |
committer | GitHub <noreply@github.com> | Wed Oct 02 23:51:20 2019 +0200 |
tree | 766d3ec48508213f7e371728b29c9cf49cdecee9 | |
parent | b3e7045f8314e7b62cd95861d207fe2f97e47198 [diff] |
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.
diff --git a/Modules/main.c b/Modules/main.c index 929417f..0288f17 100644 --- a/Modules/main.c +++ b/Modules/main.c
@@ -2,6 +2,7 @@ #include "Python.h" #include "pycore_initconfig.h" +#include "pycore_pathconfig.h" #include "pycore_pylifecycle.h" #include "pycore_pymem.h" #include "pycore_pystate.h"