summaryrefslogtreecommitdiff
path: root/net/samba/patches/patch-ae
blob: 748c1cba4424def1a752d9d9aa618add40122b64 (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-ae,v 1.4 2001/05/10 09:00:24 abs Exp $

--- include/includes.h.orig	Thu Mar 16 22:59:09 2000
+++ include/includes.h
@@ -808,20 +808,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