diff options
author | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2000-07-09 16:21:23 +0000 |
---|---|---|
committer | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2000-07-09 16:21:23 +0000 |
commit | f9267e152c9c4e2b150366c590674180e66d45df (patch) | |
tree | e7e5dfd0d642c0a71503684b9eaff7da99c50562 /readline/examples/rltest.c | |
parent | a44161c313d46a1b10fd764728a089c26037710a (diff) | |
download | gdb-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.c | 16 |
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 (); |