Browse Source

Prevent error: implicit declaration of function ‘get_local_home’

[-Werror=implicit-function-declaration], if editline is selected.
pre-master-46
Holger Vogt 2 years ago
parent
commit
e27f093fb7
  1. 1
      src/main.c

1
src/main.c

@ -26,6 +26,7 @@
It is not vailable with older libedit versions (pre-1.42.2) , thus we have to set it ourselves */
#ifdef HAVE_BSDEDITLINE
#include <editline/readline.h>
#include "../misc/tilde.h"
#ifndef rl_hook_func_t
typedef int rl_hook_func_t(void);
#endif

Loading…
Cancel
Save