Fix Issue 10307 - compile error in readline.c
diff --git a/Modules/readline.c b/Modules/readline.c
index bad8586..466ec51 100644
--- a/Modules/readline.c
+++ b/Modules/readline.c
@@ -817,6 +817,7 @@
 #endif
 }
 
+#endif
 
 /* C function to call the Python completer. */
 
@@ -855,7 +856,6 @@
     }
     return result;
 }
-#endif
 
 
 /* A more flexible constructor that saves the "begidx" and "endidx"