summaryrefslogtreecommitdiff
path: root/ext/readline
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-07-09 08:52:35 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-07-09 08:52:35 +0900
commitfbe9b691bd4d5fc21e893e60cd026830b5e16a90 (patch)
tree3c62c6f93ef1d22854f0d5e9a590e29053e9f378 /ext/readline
parenta7c85ccb18fd0d2111a69f34db01f145711cccb8 (diff)
Added missing declarations in readline.h bundled with macOS 10.13
Diffstat (limited to 'ext/readline')
-rw-r--r--ext/readline/readline.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/readline/readline.c b/ext/readline/readline.c
index b804ae6ae2..8d635fce89 100644
--- a/ext/readline/readline.c
+++ b/ext/readline/readline.c
@@ -1918,6 +1918,9 @@ username_completion_proc_call(VALUE self, VALUE str)
return result;
}
+#ifdef HAVE_RL_CATCH_SIGNALS
+RUBY_EXTERN int rl_catch_signals;
+#endif
#ifdef HAVE_RL_CLEAR_SIGNALS
RUBY_EXTERN int rl_clear_signals(void);
#endif