s3:smb: include "smbXsrv.h" before "vfs.h"
authorMichael Adam <obnox@samba.org>
Mon, 2 Jul 2012 14:10:26 +0000 (16:10 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 3 Jul 2012 11:39:41 +0000 (13:39 +0200)
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.

source3/include/smb.h

index f58095ec4180d845f56100736ac6999dd16ae49e..16a4e12a77a784bde4d78620cf1b8db2f296f8d0 100644 (file)
@@ -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 {