s3: lib, s3: modules: Fix compilation on Solaris.
authorJeremy Allison <jra@samba.org>
Fri, 3 Oct 2014 16:24:04 +0000 (09:24 -0700)
committerKarolin Seeger <kseeger@samba.org>
Tue, 27 Jan 2015 10:02:15 +0000 (11:02 +0100)
commit99b421326d7dbb56cdf0674ff1620fcf16be85b3
treefa469debf7341aaae15d3619dcff40afae51f47a
parent8a5df7dcdddca59a65a24991004261084df359f1
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

(cherry picked from commit 57bcb8055eb3e15c4ce7bcdeeef7efed175ed347)
source3/lib/unix_msg/unix_msg.c
source3/modules/vfs_aio_fork.c