summaryrefslogtreecommitdiff
path: root/source4/client/client.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-09-07 09:05:50 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:17:50 -0500
commitdf35c7612f960cca13bb86029b35749ecd90254f (patch)
tree9de8c50db710d417ffff2244a843e1020579c5b1 /source4/client/client.c
parentb04fac4ed3cea2bdc0d0888713c20e0cc1c9d5b1 (diff)
downloadsamba-df35c7612f960cca13bb86029b35749ecd90254f.tar.gz
samba-df35c7612f960cca13bb86029b35749ecd90254f.tar.bz2
samba-df35c7612f960cca13bb86029b35749ecd90254f.zip
r18209: fix the ifdef for HAVE_HISTORY_LIST
(This used to be commit bda5c3c0e39de0ae2d4686a8746cc7ee1cc9d18f)
Diffstat (limited to 'source4/client/client.c')
-rw-r--r--source4/client/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/client/client.c b/source4/client/client.c
index e9fe32967b..32f39c8571 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) && defined(HAVE_DECL_RL_EVENT_HOOK)
+#if defined(HAVE_LIBREADLINE) && defined(HAVE_HISTORY_LIST)
HIST_ENTRY **hlist;
int i;