summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Modules/readline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/readline.c b/Modules/readline.c
index 82daa52b2d5..be57f8f5032 100644
--- a/Modules/readline.c
+++ b/Modules/readline.c
@@ -930,7 +930,7 @@ on_completion_display_matches_hook(char **matches,
#ifdef HAVE_RL_RESIZE_TERMINAL
static volatile sig_atomic_t sigwinch_received;
-static sighandler_t sigwinch_ohandler;
+static PyOS_sighandler_t sigwinch_ohandler;
static void
readline_sigwinch_handler(int signum)