r18209: fix the ifdef for HAVE_HISTORY_LIST
authorAndrew Tridgell <tridge@samba.org>
Thu, 7 Sep 2006 09:05:50 +0000 (09:05 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:17:50 +0000 (14:17 -0500)
source/client/client.c

index e9fe32967b06d7c445a57f9582062d74b4de54e2..32f39c8571b84ddb6c8b5fc7893ed496d12315b3 100644 (file)
@@ -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;