diff options
author | Victor Stinner <vstinner@python.org> | 2020-04-14 17:52:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-14 17:52:15 +0200 |
commit | e5014be0497d06d78343623588a80f491a6f7b74 (patch) | |
tree | a8bbd18a39f6567115adb3089d1d9758c3e4690d /Python/pathconfig.c | |
parent | e1945307d36849f8be8937144cf3dd6ebab6274c (diff) | |
download | cpython-git-e5014be0497d06d78343623588a80f491a6f7b74.tar.gz |
bpo-40268: Remove a few pycore_pystate.h includes (GH-19510)
Diffstat (limited to 'Python/pathconfig.c')
-rw-r--r-- | Python/pathconfig.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Python/pathconfig.c b/Python/pathconfig.c index aa1d6f8139..1515926531 100644 --- a/Python/pathconfig.c +++ b/Python/pathconfig.c @@ -6,8 +6,10 @@ #include "pycore_fileutils.h" #include "pycore_pathconfig.h" #include "pycore_pymem.h" -#include "pycore_pystate.h" #include <wchar.h> +#ifdef MS_WINDOWS +# include <windows.h> // GetFullPathNameW(), MAX_PATH +#endif #ifdef __cplusplus extern "C" { |