diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2012-03-22 13:42:18 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2012-03-22 13:42:18 (GMT) |
commit | d0acb411ef6790b5ecfbd8b6be9c2d0cc1aeb4d5 (patch) | |
tree | 1675bdbf604281c8f22b3fef33785a9670660b47 /Objects | |
parent | b304764ba2e4b34ae63644030b3ca8b6942fc0ae (diff) | |
parent | 0197ff97d025f51d52503b03dca2c91a111acdaa (diff) | |
download | cpython-d0acb411ef6790b5ecfbd8b6be9c2d0cc1aeb4d5.zip cpython-d0acb411ef6790b5ecfbd8b6be9c2d0cc1aeb4d5.tar.gz cpython-d0acb411ef6790b5ecfbd8b6be9c2d0cc1aeb4d5.tar.bz2 |
Issue #14387: Do not include accu.h from Python.h.
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/accu.c | 1 | ||||
-rw-r--r-- | Objects/listobject.c | 1 | ||||
-rw-r--r-- | Objects/stringlib/unicode_format.h | 1 | ||||
-rw-r--r-- | Objects/tupleobject.c | 1 |
4 files changed, 4 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 6f1edc5..c22342b 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/stringlib/unicode_format.h b/Objects/stringlib/unicode_format.h index f05847a..6807088 100644 --- a/Objects/stringlib/unicode_format.h +++ b/Objects/stringlib/unicode_format.h @@ -2,6 +2,7 @@ unicode_format.h -- implementation of str.format(). */ +#include "accu.h" /* Defines for more efficiently reallocating the string buffer */ #define INITIAL_SIZE_INCREMENT 100 diff --git a/Objects/tupleobject.c b/Objects/tupleobject.c index d58839e..dde34ad 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 |