s3:smb: include "smbXsrv.h" before "vfs.h"
[kai/samba.git] / 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 {