summaryrefslogtreecommitdiff
path: root/net/ncftp2/patches/patch-ad
blob: e9373d249fa5c8b9b4a3a6b1e8637835d333c9a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-ad,v 1.1 1999/07/13 01:34:42 jlam Exp $

--- LGets.c.orig	Fri Apr  7 23:28:00 1995
+++ LGets.c	Thu Jul  8 15:38:00 1999
@@ -5,11 +5,15 @@
 #include "LGets.h"
 
 #ifdef HAVE_LIBREADLINE
+#if HAVE_HISTORY_H
+#	include <history.h>
+#else
 #	include <readline/readline.h>
 #	ifdef HAVE_READLINE_HISTORY_H
 		/* Required for version 2.0 of readline. */
 #		include <readline/history.h>
 #	endif
+#endif
 #endif	/* HAVE_LIBREADLINE */
 
 #ifdef HAVE_LIBGETLINE