blob: 6f85d80aa477e5943b3bc558c95cf856cfa11b91 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-ac,v 1.1 2000/07/16 18:17:31 kim Exp $
--- src/cli_readline.c.orig Fri Apr 28 00:31:24 2000
+++ src/cli_readline.c Sun Jul 16 12:19:12 2000
@@ -6,8 +6,15 @@
#include <stdio.h>
#include <stdlib.h>
-#include <readline/readline.h>
-#include <readline/history.h>
+#include <string.h>
+
+#ifdef HAVE_LIBEDIT
+# include <readline.h>
+# include <history.h>
+#else
+# include <readline/readline.h>
+# include <readline/history.h>
+#endif
#include "gnut_lib.h"
#include "cli_input.h"
|