diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-07-13 12:34:19 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-07-13 12:34:19 +0000 |
commit | 2dbc92b07d903fa6db9eb1c79001c8a7d8896ca5 (patch) | |
tree | 6d3c9b01c74d79b5409b0f115f16140300fc0946 | |
parent | afbd5661a0ca041ac818c9e5732911c5db21c9f9 (diff) | |
download | ruby-2dbc92b07d903fa6db9eb1c79001c8a7d8896ca5.tar.gz |
* 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
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ext/readline/readline.c | 4 |
2 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Tue Jul 13 21:34:17 2010 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * ext/readline/readline.c: libedit is missing declaration of + rl_getc. + Tue Jul 13 21:31:15 2010 Nobuyoshi Nakada <nobu@ruby-lang.org> * process.c (rb_daemon): split from proc_daemon. diff --git a/ext/readline/readline.c b/ext/readline/readline.c index df66ea6187..3ecea944d1 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) |