summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2012-03-22 13:38:16 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2012-03-22 13:38:16 (GMT)
commit0197ff97d025f51d52503b03dca2c91a111acdaa (patch)
tree9d09a1fc356a74a0d8aa18676d9c63fabe20260c /Objects
parentab79c71f39485d7ddc058dfc3a9c3d02ec859c36 (diff)
downloadcpython-0197ff97d025f51d52503b03dca2c91a111acdaa.zip
cpython-0197ff97d025f51d52503b03dca2c91a111acdaa.tar.gz
cpython-0197ff97d025f51d52503b03dca2c91a111acdaa.tar.bz2
Issue #14387: Do not include accu.h from Python.h.
Diffstat (limited to 'Objects')
-rw-r--r--Objects/accu.c1
-rw-r--r--Objects/listobject.c1
-rw-r--r--Objects/tupleobject.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/Objects/accu.c b/Objects/accu.c
index 88e8f08..5bd2ee4 100644
--- a/Objects/accu.c
+++ b/Objects/accu.c
@@ -1,6 +1,7 @@
/* Accumulator struct implementation */
#include "Python.h"
+#include "accu.h"
static PyObject *
join_list_unicode(PyObject *lst)
diff --git a/Objects/listobject.c b/Objects/listobject.c
index 00de597..b9ef0d0 100644
--- a/Objects/listobject.c
+++ b/Objects/listobject.c
@@ -1,6 +1,7 @@
/* List object implementation */
#include "Python.h"
+#include "accu.h"
#ifdef STDC_HEADERS
#include <stddef.h>
diff --git a/Objects/tupleobject.c b/Objects/tupleobject.c
index f6dbc31..e99eda0 100644
--- a/Objects/tupleobject.c
+++ b/Objects/tupleobject.c
@@ -2,6 +2,7 @@
/* Tuple object implementation */
#include "Python.h"
+#include "accu.h"
/* Speed optimization to avoid frequent malloc/free of small tuples */
#ifndef PyTuple_MAXSAVESIZE