summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/pyexpat.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c
index 9344031..dada234 100644
--- a/Modules/pyexpat.c
+++ b/Modules/pyexpat.c
@@ -1,4 +1,7 @@
#include "Python.h"
+#if PY_VERSION_HEX < 0x020000B1
+#include <assert.h>
+#endif
#include <ctype.h>
#include "compile.h"