From: Volker Lendecke Date: Sun, 5 Oct 2008 21:29:50 +0000 (-0700) Subject: OS/X does not have rl_done in readline.h X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=af055bb8d89a14ed572f76b5f8fe492e0ed98e12;p=thirdparty%2Fsamba.git OS/X does not have rl_done in readline.h --- 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;