Prevent error: implicit declaration of function ‘get_local_home’
[-Werror=implicit-function-declaration], if editline is selected.
This commit is contained in:
parent
0c2c10eb9c
commit
e27f093fb7
|
|
@ -26,6 +26,7 @@
|
||||||
It is not vailable with older libedit versions (pre-1.42.2) , thus we have to set it ourselves */
|
It is not vailable with older libedit versions (pre-1.42.2) , thus we have to set it ourselves */
|
||||||
#ifdef HAVE_BSDEDITLINE
|
#ifdef HAVE_BSDEDITLINE
|
||||||
#include <editline/readline.h>
|
#include <editline/readline.h>
|
||||||
|
#include "../misc/tilde.h"
|
||||||
#ifndef rl_hook_func_t
|
#ifndef rl_hook_func_t
|
||||||
typedef int rl_hook_func_t(void);
|
typedef int rl_hook_func_t(void);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue