summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2019-07-02 05:07:44 (GMT)
committerGitHub <noreply@github.com>2019-07-02 05:07:44 (GMT)
commit2cd07920bb7d2d319999394092190f37935dc421 (patch)
tree5a8151e6aa9b69dfec4f34629fdf0c2fc7134397
parente226e83d36dfc7220d836fb7a249ce18e70cb4a6 (diff)
downloadcpython-2cd07920bb7d2d319999394092190f37935dc421.zip
cpython-2cd07920bb7d2d319999394092190f37935dc421.tar.gz
cpython-2cd07920bb7d2d319999394092190f37935dc421.tar.bz2
Put pyexpatns.h include back. bpo-37437 (GH-14539)
-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