summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-07-02 16:10:26 +0200
committerMichael Adam <obnox@samba.org>2012-07-03 13:39:41 +0200
commitdb0c233624e633b3cc1a6e0e44dccc09aaa121f2 (patch)
treedc4d76664e037910f9649a7e0f437bc242c496ab /source3/include
parente332bfaff51e54638bd37cd1fe08e57608e16e86 (diff)
downloadsamba-db0c233624e633b3cc1a6e0e44dccc09aaa121f2.tar.gz
samba-db0c233624e633b3cc1a6e0e44dccc09aaa121f2.tar.bz2
samba-db0c233624e633b3cc1a6e0e44dccc09aaa121f2.zip
s3:smb: include "smbXsrv.h" before "vfs.h"
This is still needed as long as smbXsrv_open/_tcon are referenced in files_struct and connection_struct respectively. Eventually, these structures should not have a backlink to the smb world any more.
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/smb.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index f58095ec41..16a4e12a77 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -154,6 +154,12 @@ struct sys_notify_context {
/* Include VFS stuff */
#include "smb_acls.h"
+/*
+ * smbXsrv.h: currently needed for vfs.h, as long as
+ * the smbXsrv structures are still referenced as a
+ * backling from files_struct and connection_struct.
+ */
+#include "librpc/gen_ndr/smbXsrv.h"
#include "vfs.h"
struct current_user {