summaryrefslogtreecommitdiff
path: root/net/gnut/patches/patch-ab
blob: 86d104039f275675717708f693dbe429eb0706a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ab,v 1.2 2000/08/12 15:12:41 deberg Exp $

--- src/cli_input.c.orig	Thu Aug  3 03:43:22 2000
+++ src/cli_input.c	Fri Aug 11 16:05:53 2000
@@ -17,4 +17,9 @@
 #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