All libedit functions are in <editline/readline.h>, at least on Arch, OpenSUSE Leap and Fedora 22, and it looks like including <readline.h> and <history.h> would get non-libedit headers.
dnsdist: Include editline/readline.h instead of readline.h/history.h
All libedit functions are in <editline/readline.h>.
Including <readline.h> and <history.h> would get non-libedit headers.
This change was introduced to fix the compilation on OpenBSD, so we should probably test on that platform and on OSX before merging.
It turns out bffca8b also breaks OSX.
And this commit fixes OSX, but to be complete we should remove LIBEDIT_CFLAGS from the OSX configure line in README.
Meanwhile 6561313 (dnsdist-lua.cc) broke OpenBSD!
I'll continue with OpenBSD tomorrow.
I wonder why dnsdist.cc doesn't need this change
duplicate header change to dnsdist.cc; make openbsd exceptions
I have sent a PR to your branch that fixes dnsdist.cc in general and both files for OpenBSD. Also works on OSX with that change.
Merge pull request #1 from Habbie/4065-openbsd