diff --git a/Changelog b/Changelog index 506819f..b39e4ce 100644 --- a/Changelog +++ b/Changelog @@ -1,5 +1,8 @@ [Changes 1.2c01] +* Apply patch from snadge defining BIND_4_COMPAT on OpenBSD, to allow + /nslookup to build. (caf) + * Fix known problem with IPv6 on FreeBSD and enable IPv6 on all supporting platforms. Thanks to brabes, snadge and packet. (caf) diff --git a/source/misc.c b/source/misc.c index 8b48e2d..4158827 100644 --- a/source/misc.c +++ b/source/misc.c @@ -1996,6 +1996,11 @@ void ar_rename_nick(char *old_nick, char *new_nick, int server) #if defined( __APPLE__ ) && !defined( BIND_8_COMPAT ) #define BIND_8_COMPAT #endif +/* In OpenBSD, we have to define BIND_4_COMPAT to get + * nameser_compat.h included, to get the "old" bind interface. */ +#if defined( __OpenBSD__ ) && !defined( BIND_4_COMPAT ) + #define BIND_4_COMPAT +#endif #include #include