summaryrefslogtreecommitdiffstats
path: root/contrib/libreadline/examples/rltest.c
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2000-03-19 21:18:09 +0000
committerache <ache@FreeBSD.org>2000-03-19 21:18:09 +0000
commit2e27cca03ab305c34498fe82bf6fbbdc32ff136d (patch)
tree57ad5d899b83004fdc0f03ce8593e17904317abd /contrib/libreadline/examples/rltest.c
parentf556f75f097948e646fbe6280de86340d9c61536 (diff)
parentb85a0e54aedf144ea0dff369289bd3fb6f694f5f (diff)
downloadFreeBSD-src-2e27cca03ab305c34498fe82bf6fbbdc32ff136d.zip
FreeBSD-src-2e27cca03ab305c34498fe82bf6fbbdc32ff136d.tar.gz
This commit was generated by cvs2svn to compensate for changes in r58310,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/libreadline/examples/rltest.c')
-rw-r--r--contrib/libreadline/examples/rltest.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/contrib/libreadline/examples/rltest.c b/contrib/libreadline/examples/rltest.c
index 453f8ec..6250f90 100644
--- a/contrib/libreadline/examples/rltest.c
+++ b/contrib/libreadline/examples/rltest.c
@@ -4,20 +4,20 @@
/* */
/* **************************************************************** */
-/*
- * Remove the next line if you're compiling this against an installed
- * libreadline.a
- */
-#define READLINE_LIBRARY
-
#if defined (HAVE_CONFIG_H)
#include <config.h>
#endif
#include <stdio.h>
#include <sys/types.h>
-#include "readline.h"
-#include "history.h"
+
+#ifdef READLINE_LIBRARY
+# include "readline.h"
+# include "history.h"
+#else
+# include <readline/readline.h>
+# include <readline/history.h>
+#endif
extern HIST_ENTRY **history_list ();
OpenPOWER on IntegriCloud