summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2012-03-22 13:42:18 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2012-03-22 13:42:18 (GMT)
commitd0acb411ef6790b5ecfbd8b6be9c2d0cc1aeb4d5 (patch)
tree1675bdbf604281c8f22b3fef33785a9670660b47 /Modules
parentb304764ba2e4b34ae63644030b3ca8b6942fc0ae (diff)
parent0197ff97d025f51d52503b03dca2c91a111acdaa (diff)
downloadcpython-d0acb411ef6790b5ecfbd8b6be9c2d0cc1aeb4d5.zip
cpython-d0acb411ef6790b5ecfbd8b6be9c2d0cc1aeb4d5.tar.gz
cpython-d0acb411ef6790b5ecfbd8b6be9c2d0cc1aeb4d5.tar.bz2
Issue #14387: Do not include accu.h from Python.h.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_io/stringio.c1
-rw-r--r--Modules/_json.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/Modules/_io/stringio.c b/Modules/_io/stringio.c
index c4794c9..a1c31c0 100644
--- a/Modules/_io/stringio.c
+++ b/Modules/_io/stringio.c
@@ -1,6 +1,7 @@
#define PY_SSIZE_T_CLEAN
#include "Python.h"
#include "structmember.h"
+#include "accu.h"
#include "_iomodule.h"
/* Implementation note: the buffer is always at least one character longer
diff --git a/Modules/_json.c b/Modules/_json.c
index cafd5a9..95c658c 100644
--- a/Modules/_json.c
+++ b/Modules/_json.c
@@ -1,5 +1,7 @@
#include "Python.h"
#include "structmember.h"
+#include "accu.h"
+
#if PY_VERSION_HEX < 0x02060000 && !defined(Py_TYPE)
#define Py_TYPE(ob) (((PyObject*)(ob))->ob_type)
#endif