$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