From 8188e792d9778026eed09ab664ac4b16c8906034 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Sun, 18 Nov 2001 02:36:07 +0000 Subject: [PATCH] assert.h was not always included by Python.h; make sure we import it for older versions. (Thanks to Martijn Faassen.) --- Modules/pyexpat.c | 3 +++ 1 file changed, 3 insertions(+) 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" -- 2.50.1