summaryrefslogtreecommitdiff
path: root/ext/readline
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-07-13 12:34:19 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-07-13 12:34:19 +0000
commit2dbc92b07d903fa6db9eb1c79001c8a7d8896ca5 (patch)
tree6d3c9b01c74d79b5409b0f115f16140300fc0946 /ext/readline
parentafbd5661a0ca041ac818c9e5732911c5db21c9f9 (diff)
* ext/readline/readline.c: libedit is missing declaration of
rl_getc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/readline')
-rw-r--r--ext/readline/readline.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/readline/readline.c b/ext/readline/readline.c
index df66ea6..3ecea94 100644
--- a/ext/readline/readline.c
+++ b/ext/readline/readline.c
@@ -108,6 +108,10 @@ static char **readline_attempted_completion_function(const char *text,
static VALUE readline_instream;
static ID id_getbyte;
+#ifdef HAVE_EDITLINE_READLINE_H
+extern int rl_getc(FILE *);
+#endif
+
static int readline_getc(FILE *);
static int
readline_getc(FILE *input)