summaryrefslogtreecommitdiff
path: root/net/samba/patches/patch-af
blob: bda5fdc5778479ef2c38c928b3e426d4fadeccad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
$NetBSD: patch-af,v 1.3 2000/09/03 09:17:00 kei Exp $

--- include/includes.h.orig	Sat Jul 15 01:52:58 2000
+++ include/includes.h	Sun Sep  3 06:23:10 2000
@@ -832,20 +832,20 @@
 #define ULTRIX_AUTH 1
 #endif
 
-#ifdef HAVE_LIBREADLINE
-#  ifdef HAVE_READLINE_READLINE_H
-#    include <readline/readline.h>
-#    ifdef HAVE_READLINE_HISTORY_H
-#      include <readline/history.h>
+#ifdef HAVE_READLINE
+#  ifdef HAVE_READLINE_H
+#    include <readline.h>
+#    ifdef HAVE_HISTORY_H
+#      include <history.h>
 #    endif
 #  else
-#    ifdef HAVE_READLINE_H
-#      include <readline.h>
-#      ifdef HAVE_HISTORY_H
-#        include <history.h>
+#    ifdef HAVE_READLINE_READLINE_H
+#      include <readline/readline.h>
+#      ifdef HAVE_READLINE_HISTORY_H
+#        include <readline/history.h>
 #      endif
 #    else
-#      undef HAVE_LIBREADLINE
+#      undef HAVE_READLINE
 #    endif
 #  endif
 #endif