diff -rupN a/client/birdc.c b/client/birdc.c --- a/client/birdc.c 2013-11-23 13:29:53.000000000 +0100 +++ b/client/birdc.c 2014-03-22 13:09:40.278580657 +0100 @@ -29,7 +29,7 @@ static int prompt_active; /* HACK: libreadline internals we need to access */ extern int _rl_vis_botlin; extern void _rl_move_vert(int); -extern Function *rl_last_func; +extern rl_command_func_t *rl_last_func; static void add_history_dedup(char *cmd)