From: Victor Stinner Date: Mon, 10 Dec 2018 15:06:18 +0000 (+0100) Subject: bpo-31374: expat doesn't include on Windows (GH-11079) X-Git-Tag: v3.8.0a1~302 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6ef6f69a9afc979640a5f9883f799de1364bff7;p=thirdparty%2FPython%2Fcpython.git bpo-31374: expat doesn't include on Windows (GH-11079) --- diff --git a/Modules/expat/xmltok.c b/Modules/expat/xmltok.c index fa35de71324c..6371a350dadf 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 */