From b6ef6f69a9afc979640a5f9883f799de1364bff7 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Mon, 10 Dec 2018 16:06:18 +0100 Subject: bpo-31374: expat doesn't include on Windows (GH-11079) --- Modules/expat/xmltok.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Modules/expat/xmltok.c b/Modules/expat/xmltok.c index fa35de7..6371a35 100644 --- a/Modules/expat/xmltok.c +++ b/Modules/expat/xmltok.c @@ -30,7 +30,9 @@ USE OR OTHER DEALINGS IN THE SOFTWARE. */ -#include +#if !defined(_WIN32) && defined(HAVE_EXPAT_CONFIG_H) +# include +#endif #include #include /* memcpy */ -- cgit v0.12