aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-11-01 03:15:58 +0100
committerGitHub <noreply@github.com>2018-11-01 03:15:58 +0100
commita1c249c40517917d2e0971d55aea8d14a44b2cc8 (patch)
tree626ca174cb49d8dd299f529cc100485a08bea9d2 /Modules/getpath.c
parentbpo-35081: Move accu.h to Include/internal/pycore_accu.h (GH-10271) (diff)
downloadcpython-a1c249c40517917d2e0971d55aea8d14a44b2cc8.tar.gz
cpython-a1c249c40517917d2e0971d55aea8d14a44b2cc8.tar.bz2
cpython-a1c249c40517917d2e0971d55aea8d14a44b2cc8.zip
bpo-35081: And pycore_lifecycle.h and pycore_pathconfig.h (GH-10273)
* And pycore_lifecycle.h and pycore_pathconfig.h headers to Include/internal/ * Move Py_BUILD_CORE specific code from coreconfig.h and pylifecycle.h to pycore_pathconfig.h and pycore_lifecycle.h * Move _Py_wstrlist_XXX() definitions and _PyPathConfig code from pycore_state.h to pycore_pathconfig.h * Move "Init" and "Fini" function definitions from pylifecycle.c to pycore_lifecycle.h.
Diffstat (limited to 'Modules/getpath.c')
-rw-r--r--Modules/getpath.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/getpath.c b/Modules/getpath.c
index 53e5c2b889a..0e210710ecf 100644
--- a/Modules/getpath.c
+++ b/Modules/getpath.c
@@ -1,8 +1,9 @@
/* Return the initial module search path. */
#include "Python.h"
-#include "pycore_state.h"
#include "osdefs.h"
+#include "pycore_pathconfig.h"
+#include "pycore_state.h"
#include <sys/types.h>
#include <string.h>