summaryrefslogtreecommitdiffstats
path: root/Modules/_io/fileio.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-11-21 21:27:47 (GMT)
committerGitHub <noreply@github.com>2018-11-21 21:27:47 (GMT)
commitbcda8f1d42a98d9022736dd52d855be8e220fe15 (patch)
treed340839a87b14d84adf04fceb230c0922fef0b6c /Modules/_io/fileio.c
parentaac1f81eef971876ba5b1673db9ce6620311c469 (diff)
downloadcpython-bcda8f1d42a98d9022736dd52d855be8e220fe15.zip
cpython-bcda8f1d42a98d9022736dd52d855be8e220fe15.tar.gz
cpython-bcda8f1d42a98d9022736dd52d855be8e220fe15.tar.bz2
bpo-35081: Add Include/internal/pycore_object.h (GH-10640)
Move _PyObject_GC_TRACK() and _PyObject_GC_UNTRACK() from Include/objimpl.h to Include/internal/pycore_object.h.
Diffstat (limited to 'Modules/_io/fileio.c')
-rw-r--r--Modules/_io/fileio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/_io/fileio.c b/Modules/_io/fileio.c
index ffcb730..c502c43 100644
--- a/Modules/_io/fileio.c
+++ b/Modules/_io/fileio.c
@@ -2,6 +2,7 @@
#define PY_SSIZE_T_CLEAN
#include "Python.h"
+#include "pycore_object.h"
#include "structmember.h"
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>