From 4226a6e47f12f835abbd40898969aaebf97fe3b0 Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Thu, 27 Feb 2020 18:55:08 +0200 Subject: [PATCH] server: better readline check Avoid _partial_ setups. Fixes #1594. --- mu/mu-cmd-server.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mu/mu-cmd-server.cc b/mu/mu-cmd-server.cc index 477d694b..46d8cffa 100644 --- a/mu/mu-cmd-server.cc +++ b/mu/mu-cmd-server.cc @@ -1289,7 +1289,7 @@ struct Readline { }; /// Wrapper around readline (if available) or nothing otherwise. -#if defined(HAVE_LIBREADLINE) && defined(HAVE_READLINE_HISTORY) +#if defined(HAVE_LIBREADLINE) && defined(HAVE_READLINE_HISTORY) && defined(HAVE_READLINE_H) Readline::Readline (const std::string& histpath, size_t max_lines): histpath_{histpath}, max_lines_{max_lines} {