diff options
author | Andreas Schneider <asn@samba.org> | 2014-06-03 15:00:18 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2014-06-05 23:57:10 +0200 |
commit | 7556e1388f3eb84ea5c12940e578076b2438f78c (patch) | |
tree | a1aae117dd5adf3b6424ec9fd5f4092dbebc2fc0 | |
parent | 7a386b33086c6afba587443f1eeb4645399a965e (diff) | |
download | samba-7556e1388f3eb84ea5c12940e578076b2438f78c.tar.gz samba-7556e1388f3eb84ea5c12940e578076b2438f78c.tar.xz samba-7556e1388f3eb84ea5c12940e578076b2438f78c.zip |
swrap: Silence a warning on OpenIndiana.
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
-rw-r--r-- | lib/socket_wrapper/socket_wrapper.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/socket_wrapper/socket_wrapper.c b/lib/socket_wrapper/socket_wrapper.c index 0626964f0d2..f5a7858d5c3 100644 --- a/lib/socket_wrapper/socket_wrapper.c +++ b/lib/socket_wrapper/socket_wrapper.c @@ -3877,8 +3877,10 @@ static ssize_t swrap_recvmsg(int s, struct msghdr *omsg, int flags) struct socket_info *si; struct msghdr msg; struct iovec tmp; +#ifdef HAVE_STRUCT_MSGHDR_MSG_CONTROL size_t msg_ctrllen_filled; size_t msg_ctrllen_left; +#endif ssize_t ret; int rc; |