diff options
author | Volker Lendecke <vl@samba.org> | 2008-10-05 13:12:31 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-10-05 13:22:08 +0200 |
commit | 01ecd766c86ad49c7d8b9095bef76b5dcc71d757 (patch) | |
tree | 63d85be0e4d4dea56d75c3fbc3315308702304fb /source3/lib | |
parent | 6ee4e81ad13fba417a4e50b5c162a799e44adf27 (diff) | |
download | samba-01ecd766c86ad49c7d8b9095bef76b5dcc71d757.tar.gz samba-01ecd766c86ad49c7d8b9095bef76b5dcc71d757.tar.bz2 samba-01ecd766c86ad49c7d8b9095bef76b5dcc71d757.zip |
OS/X does not have rl_done in readline.h
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/readline.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/lib/readline.c b/source3/lib/readline.c index fd57799b57..cafb5a9f62 100644 --- a/source3/lib/readline.c +++ b/source3/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; |