]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
OS/X does not have rl_done in readline.h
authorVolker Lendecke <vl@samba.org>
Sun, 5 Oct 2008 21:29:50 +0000 (14:29 -0700)
committerJeremy Allison <jra@samba.org>
Sun, 5 Oct 2008 21:29:50 +0000 (14:29 -0700)
source/lib/readline.c

index fd57799b578ba8e58bb117882bcec10a1d4fabc8..cf7809b05cfb5ccfcc5d500c0396c123c07004b1 100644 (file)
 
 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;