mirror of
https://github.com/moparisthebest/hexchat
synced 2024-11-22 09:12:22 -05:00
Define AI_ADDRCONFIG in inet.h, needed by OpenBSD
This commit is contained in:
parent
1e1ef1c6cf
commit
9cba22c38a
@ -34,6 +34,10 @@
|
||||
#endif
|
||||
#ifdef WANTDNS
|
||||
#include <netdb.h>
|
||||
/* OpenBSD's netdb.h does not define AI_ADDRCONFIG */
|
||||
#ifndef AI_ADDRCONFIG
|
||||
#define AI_ADDRCONFIG 0
|
||||
#endif
|
||||
#endif
|
||||
#define closesocket close
|
||||
#define set_blocking(sok) fcntl(sok, F_SETFL, 0)
|
||||
|
Loading…
Reference in New Issue
Block a user