aboutsummaryrefslogtreecommitdiff
path: root/readline/examples/rltest.c
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2000-07-09 16:21:23 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2000-07-09 16:21:23 +0000
commitf9267e152c9c4e2b150366c590674180e66d45df (patch)
treee7e5dfd0d642c0a71503684b9eaff7da99c50562 /readline/examples/rltest.c
parenta44161c313d46a1b10fd764728a089c26037710a (diff)
downloadgdb-f9267e152c9c4e2b150366c590674180e66d45df.zip
gdb-f9267e152c9c4e2b150366c590674180e66d45df.tar.gz
gdb-f9267e152c9c4e2b150366c590674180e66d45df.tar.bz2
Import of readline 4.1
Diffstat (limited to 'readline/examples/rltest.c')
-rw-r--r--readline/examples/rltest.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/readline/examples/rltest.c b/readline/examples/rltest.c
index 453f8ec..6250f90 100644
--- a/readline/examples/rltest.c
+++ b/readline/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 ();