summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2014-05-23 09:20:31 +0200
committerMichael Adam <obnox@samba.org>2014-05-26 10:05:12 +0200
commitf81b6e84d57a6d40dce96b49cf18d924ab282872 (patch)
tree0c0d84b20c5e7c2543f6af61202c1aab4922e200 /src
parentd977b0ee9570757cb15014c18787d366956d7901 (diff)
downloadsocket_wrapper-f81b6e84d57a6d40dce96b49cf18d924ab282872.tar.gz
socket_wrapper-f81b6e84d57a6d40dce96b49cf18d924ab282872.tar.xz
socket_wrapper-f81b6e84d57a6d40dce96b49cf18d924ab282872.zip
swrap: Silence a warning on OpenIndiana.
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'src')
-rw-r--r--src/socket_wrapper.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/socket_wrapper.c b/src/socket_wrapper.c
index 0626964..f5a7858 100644
--- a/src/socket_wrapper.c
+++ b/src/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;