summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2012-07-24 13:16:57 +0200
committerChristian Ambach <ambi@samba.org>2012-08-06 18:07:52 +0200
commit4e91ccf16de6db8fdfdec65717b95f0e072f42da (patch)
tree615fb4b6c0dc24218f8253fb89247e546565d315
parent0dfc33026e1445327954b8822afe4e44e82185ef (diff)
downloadsamba-4e91ccf16de6db8fdfdec65717b95f0e072f42da.tar.gz
samba-4e91ccf16de6db8fdfdec65717b95f0e072f42da.tar.bz2
samba-4e91ccf16de6db8fdfdec65717b95f0e072f42da.zip
smbXcli: add some includes to fix compiler warnings
if smbXcli_base.h is included on its own, there are various compiler warnings about implicitly declared struct iovec and smb2_create_blobs
-rw-r--r--libcli/smb/smbXcli_base.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libcli/smb/smbXcli_base.h b/libcli/smb/smbXcli_base.h
index 689369e4a9..2c0410b592 100644
--- a/libcli/smb/smbXcli_base.h
+++ b/libcli/smb/smbXcli_base.h
@@ -21,6 +21,9 @@
#ifndef _SMBXCLI_BASE_H_
#define _SMBXCLI_BASE_H_
+#include <sys/uio.h>
+#include "libcli/smb/smb2_create_blob.h"
+
struct smbXcli_conn;
struct smbXcli_session;
struct smbXcli_tcon;