mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-22 15:50:59 -05:00
Fix for Solaris 9.
git-svn-id: file:///svn/unbound/trunk@877 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
5e420a8275
commit
e8f4ac9b1a
1 changed files with 5 additions and 0 deletions
|
|
@ -178,6 +178,11 @@ comm_point_send_udp_msg(struct comm_point *c, ldns_buffer* packet,
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** if no CMSG_LEN (Solaris 9) define something reasonable for one element */
|
||||||
|
#ifndef CMSG_LEN
|
||||||
|
#define CMSG_LEN(x) (sizeof(struct cmsghdr)+(x))
|
||||||
|
#endif
|
||||||
|
|
||||||
/** print debug ancillary info */
|
/** print debug ancillary info */
|
||||||
void p_ancil(const char* str, struct comm_reply* r)
|
void p_ancil(const char* str, struct comm_reply* r)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue