summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-11-06 23:44:03 (GMT)
committerGitHub <noreply@github.com>2018-11-06 23:44:03 (GMT)
commit9fc57a384825530635ef5ec093a31d864ea14f7c (patch)
treeb081652318026bc437ddbbebff9ad2e59da5f454 /Python
parentbccacd19fa7b56dcf2fbfab15992b6b94ab6666b (diff)
downloadcpython-9fc57a384825530635ef5ec093a31d864ea14f7c.zip
cpython-9fc57a384825530635ef5ec093a31d864ea14f7c.tar.gz
cpython-9fc57a384825530635ef5ec093a31d864ea14f7c.tar.bz2
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.
Diffstat (limited to 'Python')
-rw-r--r--Python/coreconfig.c1
-rw-r--r--Python/fileutils.c1
-rw-r--r--Python/pathconfig.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/Python/coreconfig.c b/Python/coreconfig.c
index b6fc33c..c81cd8b 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 2c4061e..c9a8e58 100644
--- a/Python/fileutils.c
+++ b/Python/fileutils.c
@@ -1,4 +1,5 @@
#include "Python.h"
+#include "pycore_fileutils.h"
#include "osdefs.h"
#include <locale.h>
diff --git a/Python/pathconfig.c b/Python/pathconfig.c
index f8bcc28..2d8b417 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 <wchar.h>