From: Fred Drake Date: Sun, 18 Nov 2001 02:36:07 +0000 (+0000) Subject: assert.h was not always included by Python.h; make sure we import it for X-Git-Tag: v2.2.1c1~735 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8188e792d9778026eed09ab664ac4b16c8906034;p=python assert.h was not always included by Python.h; make sure we import it for older versions. (Thanks to Martijn Faassen.) --- diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c index 9344031a72..dada234f2c 100644 --- a/Modules/pyexpat.c +++ b/Modules/pyexpat.c @@ -1,4 +1,7 @@ #include "Python.h" +#if PY_VERSION_HEX < 0x020000B1 +#include +#endif #include #include "compile.h"