Apply patch from snadge to set BIND_4_COMPAT on OpenBSD. This is similar
to the existing BIND_8_COMPAT fix for OSX. Oh how I hate the /nslookup function. git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@187 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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 <stdio.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
Reference in New Issue
Block a user