Provide a compatible declaration of CMSG_ALIGN
commit95c9917c8638f1eb5480e851c8dfbb808f1687bd
authorJakub Hrozek <jakub.hrozek@gmail.com>
Thu, 2 Oct 2014 05:05:35 +0000 (2 07:05 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 2 Oct 2014 07:35:10 +0000 (2 09:35 +0200)
tree6fe541a553c8461e1b2bd59fd233c04a3397e895
parent5e70d80e7d7752a1df16b871d57fbcd8334a44e6
Provide a compatible declaration of CMSG_ALIGN

Some platforms (like OSX) do support some of the CMGS macros, but don't
have a CMSG_ALIGN macro of their own.

Signed-off-by: Jakub Hrozek <jakub.hrozek@gmail.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
lib/socket_wrapper/socket_wrapper.c