From af055bb8d89a14ed572f76b5f8fe492e0ed98e12 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 5 Oct 2008 14:29:50 -0700 Subject: [PATCH] OS/X does not have rl_done in readline.h --- source/lib/readline.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/source/lib/readline.c b/source/lib/readline.c index fd57799b578..cf7809b05cf 100644 --- a/source/lib/readline.c +++ b/source/lib/readline.c @@ -47,6 +47,14 @@ static bool smb_rl_done; +#if HAVE_LIBREADLINE +/* + * * MacOS/X does not have rl_done in readline.h, but + * * readline.so has it + * */ +extern int rl_done; +#endif + void smb_readline_done(void) { smb_rl_done = true; -- 2.11.4.GIT