summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-07-02 05:26:40 (GMT)
committerGitHub <noreply@github.com>2019-07-02 05:26:40 (GMT)
commit9bd5479f8aba2687f4b8de735b1de50ef1405f19 (patch)
tree192fdb1c6b5fdf80d97cbf57edca721a9d46df97
parent746992c1ae4c632220563d3fe54123498f93db1d (diff)
downloadcpython-9bd5479f8aba2687f4b8de735b1de50ef1405f19.zip
cpython-9bd5479f8aba2687f4b8de735b1de50ef1405f19.tar.gz
cpython-9bd5479f8aba2687f4b8de735b1de50ef1405f19.tar.bz2
Put pyexpatns.h include back. bpo-37437 (GH-14539)
(cherry picked from commit 2cd07920bb7d2d319999394092190f37935dc421) Co-authored-by: Benjamin Peterson <benjamin@python.org>
-rw-r--r--Modules/expat/expat_external.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/expat/expat_external.h b/Modules/expat/expat_external.h
index 875225d..fc63c22 100644
--- a/Modules/expat/expat_external.h
+++ b/Modules/expat/expat_external.h
@@ -81,6 +81,10 @@
# endif
#endif /* not defined XMLCALL */
+/* Namespace external symbols to allow multiple libexpat version to
+ co-exist. */
+#include "pyexpatns.h"
+
#if !defined(XML_STATIC) && !defined(XMLIMPORT)
# ifndef XML_BUILDING_EXPAT