Commit 70bce6bf authored by Tollef Fog Heen's avatar Tollef Fog Heen

Only use readline/history.h if no edit/readline/redline.h

it seems edit/readline/readline.h and readline/history.h are
incompatible on FreeBSD, so only include one.  Hopefully this works on
OpenBSD still.
parent 2038df57
......@@ -38,12 +38,12 @@
# include <edit/readline/readline.h>
# elif HAVE_READLINE_READLINE_H
# include <readline/readline.h>
# ifdef HAVE_READLINE_HISTORY_H
# include <readline/history.h>
# endif
# else
# include <editline/readline.h>
# endif
# ifdef HAVE_READLINE_HISTORY_H
# include <readline/history.h>
# endif
#endif
#include <errno.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment