mirror of
https://github.com/NLnetLabs/unbound.git
synced 2024-09-21 22:57:08 +00:00
- Fix cmsg alignment for argument to sendmsg on NetBSD.
git-svn-id: file:///svn/unbound/trunk@3608 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
8ddad6fd67
commit
303fbcdc47
@ -2,6 +2,7 @@
|
||||
- Fix #734: chown the pidfile if it resides inside the chroot.
|
||||
- Use arc4random instead of random in tests (because it is
|
||||
available, possibly as compat, anyway).
|
||||
- Fix cmsg alignment for argument to sendmsg on NetBSD.
|
||||
|
||||
25 January 2016: Wouter
|
||||
- Fix #738: Swig should not be invoked with CPPFLAGS.
|
||||
|
@ -56,7 +56,9 @@
|
||||
/* -------- Start of local definitions -------- */
|
||||
/** if CMSG_ALIGN is not defined on this platform, a workaround */
|
||||
#ifndef CMSG_ALIGN
|
||||
# ifdef _CMSG_DATA_ALIGN
|
||||
# ifdef __CMSG_ALIGN
|
||||
# define CMSG_ALIGN(n) __CMSG_ALIGN(n)
|
||||
# elif defined(CMSG_DATA_ALIGN)
|
||||
# define CMSG_ALIGN _CMSG_DATA_ALIGN
|
||||
# else
|
||||
# define CMSG_ALIGN(len) (((len)+sizeof(long)-1) & ~(sizeof(long)-1))
|
||||
|
Loading…
Reference in New Issue
Block a user