mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
Make this compile (without ipv6 socket support) on half-done implementations.
This commit is contained in:
@@ -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. */
|
||||
|
Reference in New Issue
Block a user