Include ctype.h after Python.h.
diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c
index 30c420d..93107ba 100644
--- a/Modules/pyexpat.c
+++ b/Modules/pyexpat.c
@@ -1,6 +1,6 @@
+#include "Python.h"
 #include <ctype.h>
 
-#include "Python.h"
 #include "compile.h"
 #include "frameobject.h"
 #ifdef HAVE_EXPAT_H