aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/pathconfig.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/pathconfig.c')
-rw-r--r--Python/pathconfig.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/Python/pathconfig.c b/Python/pathconfig.c
index afffa134e89..0ac64ec8110 100644
--- a/Python/pathconfig.c
+++ b/Python/pathconfig.c
@@ -1,13 +1,15 @@
/* Path configuration like module_search_path (sys.path) */
#include "Python.h"
-#include "marshal.h" // PyMarshal_ReadObjectFromString
-#include "osdefs.h" // DELIM
-#include "pycore_initconfig.h"
-#include "pycore_fileutils.h"
+#include "pycore_initconfig.h" // _PyStatus_OK()
+#include "pycore_fileutils.h" // _Py_wgetcwd()
#include "pycore_pathconfig.h"
#include "pycore_pymem.h" // _PyMem_SetDefaultAllocator()
#include <wchar.h>
+
+#include "marshal.h" // PyMarshal_ReadObjectFromString
+#include "osdefs.h" // DELIM
+
#ifdef MS_WINDOWS
# include <windows.h> // GetFullPathNameW(), MAX_PATH
# include <pathcch.h>