mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 10:12:09 -04:00
Make this compile (without ipv6 socket support) on half-done implementations.
This commit is contained in:
parent
bd1a878734
commit
efff2a52af
1 changed files with 10 additions and 0 deletions
|
|
@ -130,10 +130,20 @@ typedef isc_event_t intev_t;
|
|||
#define TIMESTAMP_SPACE 0
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Check to see if we have even basic support for cracking messages from
|
||||
* the control data returned from/sent via recvmsg()/sendmsg().
|
||||
*/
|
||||
#if defined(USE_CMSG) && (!defined(CMSG_LEN) || !defined(CMSG_SPACE))
|
||||
#undef USE_CMSG
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Total cmsg space needed for all of the above bits.
|
||||
*/
|
||||
#ifdef USE_CMSG
|
||||
#define TOTAL_SPACE (PKTINFO_SPACE + TIMESTAMP_SPACE)
|
||||
#endif
|
||||
|
||||
struct isc_socket {
|
||||
/* Not locked. */
|
||||
|
|
|
|||
Loading…
Reference in a new issue