s3: lib, s3: modules: Fix compilation on Solaris.
authorJeremy Allison <jra@samba.org>
Fri, 3 Oct 2014 16:24:04 +0000 (09:24 -0700)
committerAndreas Schneider <asn@cryptomilk.org>
Mon, 6 Oct 2014 10:33:35 +0000 (12:33 +0200)
commit57bcb8055eb3e15c4ce7bcdeeef7efed175ed347
tree0c9af8a9fbba25fb9086eeb6504b7937369784c0
parent7366204845fda07ee4a83a1a63875f643d0a5794
s3: lib, s3: modules: Fix compilation on Solaris.

Based on work from YOUZHONG YANG <youzhong@gmail.com>.
Code needs fixing when HAVE_STRUCT_MSGHDR_MSG_CONTROL is
not defined. Also Solaris doesn't have msg_flags field
(which we set to zero anyway, so if we initialize
the entire struct to zero, we never need to refer to it).

https://bugzilla.samba.org/show_bug.cgi?id=10849

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Mon Oct  6 12:33:36 CEST 2014 on sn-devel-104
source3/lib/unix_msg/unix_msg.c
source3/modules/vfs_aio_fork.c