mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-03 08:05:21 +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
|
#define TIMESTAMP_SPACE 0
|
||||||
#endif
|
#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.
|
* Total cmsg space needed for all of the above bits.
|
||||||
*/
|
*/
|
||||||
|
#ifdef USE_CMSG
|
||||||
#define TOTAL_SPACE (PKTINFO_SPACE + TIMESTAMP_SPACE)
|
#define TOTAL_SPACE (PKTINFO_SPACE + TIMESTAMP_SPACE)
|
||||||
|
#endif
|
||||||
|
|
||||||
struct isc_socket {
|
struct isc_socket {
|
||||||
/* Not locked. */
|
/* Not locked. */
|
||||||
|
Reference in New Issue
Block a user