2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

4515. [port] FreeBSD: Find readline headers when they are in

edit/readline/ instead of readline/. [RT #43658]
This commit is contained in:
Curtis Blackburn
2016-11-18 11:12:42 -08:00
parent cbd3082c62
commit eb4ffd6685
7 changed files with 80 additions and 29 deletions

View File

@@ -81,7 +81,12 @@
#include <bind9/getaddresses.h>
#if defined(HAVE_READLINE)
#if defined(HAVE_EDITLINE_READLINE_H)
#if defined(HAVE_EDIT_READLINE_READLINE_H)
#include <edit/readline/readline.h>
#if defined(HAVE_EDIT_READLINE_HISTORY_H)
#include <edit/readline/history.h>
#endif
#elif defined(HAVE_EDITLINE_READLINE_H)
#include <editline/readline.h>
#else
#include <readline/readline.h>