diff options
author | ache <ache@FreeBSD.org> | 2000-03-19 21:18:09 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2000-03-19 21:18:09 +0000 |
commit | 2e27cca03ab305c34498fe82bf6fbbdc32ff136d (patch) | |
tree | 57ad5d899b83004fdc0f03ce8593e17904317abd /contrib/libreadline/examples/rltest.c | |
parent | f556f75f097948e646fbe6280de86340d9c61536 (diff) | |
parent | b85a0e54aedf144ea0dff369289bd3fb6f694f5f (diff) | |
download | FreeBSD-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.c | 16 |
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 (); |