From d6f5a32c93a46b6dec8a5097533ddf682cecf2d9 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Mon, 31 Dec 2018 11:45:42 +0100 Subject: [PATCH] Add a comment to the editline #ifdef --- src/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 72028886c..d994fe4cb 100644 --- a/src/main.c +++ b/src/main.c @@ -19,7 +19,8 @@ # include #endif -/* SJB added editline support 2005-05-05 */ +/* editline development has added the following typdef to readline.h in 06/2018. + It is not vailable with older libedit versions (pre-1.42.2) , thus we have to set it ourselves */ #ifdef HAVE_BSDEDITLINE #include #ifndef rl_hook_func_t