From 3acf30de90936fe3714bb62873e2523c0440e652 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Mon, 10 Dec 2018 07:41:11 -0800 Subject: bpo-31374: expat doesn't include on Windows (GH-11079) (cherry picked from commit b6ef6f69a9afc979640a5f9883f799de1364bff7) Co-authored-by: Victor Stinner --- 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