blob: a67b387f5e9492444a4ae0e1d14c0097dcdd27ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-ah,v 1.2 2000/01/14 14:01:59 rh Exp $
--- src/getline.c.orig Fri Jan 14 13:41:51 2000
+++ src/getline.c Fri Jan 14 13:44:14 2000
@@ -47,6 +47,8 @@
#if HAVE_READLINE_HISTORY_H
#include <readline/history.h>
+#elif HAVE_HISTORY_H
+#include <history.h>
#else /* no readline/history.h */
extern void add_history (char *);
extern void using_history (void);
@@ -407,6 +409,8 @@
#if HAVE_READLINE_READLINE_H
#include <readline/readline.h>
+#elif HAVE_READLINE_H
+#include <readline.h>
#else /* no readline/readline.h */
extern char *readline (char *);
#endif /* no readline/readline.h */
|