20 lines
471 B
Text
20 lines
471 B
Text
$NetBSD: patch-ab,v 1.3 2001/02/24 23:48:58 christos Exp $
|
|
|
|
--- src/cli_input.c.orig Wed Jan 31 14:37:00 2001
|
|
+++ src/cli_input.c Sat Feb 24 18:32:11 2001
|
|
@@ -18,8 +18,13 @@
|
|
#include <pthread.h>
|
|
|
|
#ifdef HAVE_READLINE
|
|
-# include <readline/readline.h>
|
|
-# include <readline/history.h>
|
|
+# ifdef HAVE_LIBEDIT
|
|
+# include <readline.h>
|
|
+# include <history.h>
|
|
+# else
|
|
+# include <readline/readline.h>
|
|
+# include <readline/history.h>
|
|
+# endif
|
|
#endif
|
|
|
|
#ifdef HAVE_REGEX_H
|