From 9fc57a384825530635ef5ec093a31d864ea14f7c Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Wed, 7 Nov 2018 00:44:03 +0100 Subject: bpo-35081: Add pycore_fileutils.h (GH-10371) Move Py_BUILD_CORE code from Include/fileutils.h to a new Include/internal/pycore_fileutils.h file. --- Python/coreconfig.c | 1 + Python/fileutils.c | 1 + Python/pathconfig.c | 1 + 3 files changed, 3 insertions(+) (limited to 'Python') diff --git a/Python/coreconfig.c b/Python/coreconfig.c index b6fc33c3c9..c81cd8bab7 100644 --- a/Python/coreconfig.c +++ b/Python/coreconfig.c @@ -1,4 +1,5 @@ #include "Python.h" +#include "pycore_fileutils.h" #include "pycore_lifecycle.h" #include "pycore_mem.h" #include "pycore_pathconfig.h" diff --git a/Python/fileutils.c b/Python/fileutils.c index 2c4061e269..c9a8e58dd1 100644 --- a/Python/fileutils.c +++ b/Python/fileutils.c @@ -1,4 +1,5 @@ #include "Python.h" +#include "pycore_fileutils.h" #include "osdefs.h" #include diff --git a/Python/pathconfig.c b/Python/pathconfig.c index f8bcc2886a..2d8b417d31 100644 --- a/Python/pathconfig.c +++ b/Python/pathconfig.c @@ -3,6 +3,7 @@ #include "Python.h" #include "osdefs.h" #include "pycore_mem.h" +#include "pycore_fileutils.h" #include "pycore_pathconfig.h" #include "pycore_state.h" #include -- cgit v1.2.1