FIX: readline 6.3 type changes

This commit is contained in:
Vítor Santos Costa 2014-05-29 11:40:29 +01:00
parent cb8b05d516
commit 2400911db9
1 changed files with 6 additions and 0 deletions

View File

@ -106,7 +106,13 @@ extern void add_history(char *); /* should be in readline.h */
/* readline.h versions */
extern int rl_begin_undo_group(void); /* delete when conflict arrises! */
extern int rl_end_undo_group(void);
#if HAVE_RL_HOOK_FUNC_T
extern rl_hook_func_t *rl_event_hook;
#else
extern Function *rl_event_hook;
#endif
#ifndef HAVE_RL_FILENAME_COMPLETION_FUNCTION
#define rl_filename_completion_function filename_completion_function
extern char *filename_completion_function(const char *, int);