From b04fac4ed3cea2bdc0d0888713c20e0cc1c9d5b1 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 7 Sep 2006 08:34:12 +0000 Subject: r18208: Mac OS X also doesn't have history_list() must be a pretty old readline lib! (This used to be commit ba901e6820c02bc696c0bd3e9e0788801fd0795b) --- source4/client/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/client') diff --git a/source4/client/client.c b/source4/client/client.c index e748edd347..e9fe32967b 100644 --- a/source4/client/client.c +++ b/source4/client/client.c @@ -2388,7 +2388,7 @@ history ****************************************************************************/ static int cmd_history(struct smbclient_context *ctx, const char **args) { -#if defined(HAVE_LIBREADLINE) +#if defined(HAVE_LIBREADLINE) && defined(HAVE_DECL_RL_EVENT_HOOK) HIST_ENTRY **hlist; int i; -- cgit