s3:smbd: Include smbXsrv.h before vfs.h (in smbd.h) so that the smbXsrv structures...
authorMichael Adam <obnox@samba.org>
Mon, 2 Jul 2012 12:46:00 +0000 (14:46 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 3 Jul 2012 11:39:41 +0000 (13:39 +0200)
This is currently needed for files_struct and connection_struct
that contain backlinks to smbXsrv_open and smbXsrv_tcon, respectively.
Finally, these backlinks to the smb level structures should be removed.

source3/smbd/smbd.h

index c8209b12aeb31206f03e90ae3cec52c3f630fcbe..9233fd743cf885bfef620f2d0c92e68a10c914bd 100644 (file)
@@ -23,8 +23,8 @@ struct dptr_struct;
 struct aio_extra;
 
 #include "smb_acls.h"
-#include "vfs.h"
 #include "librpc/gen_ndr/smbXsrv.h"
+#include "vfs.h"
 #include "smbd/proto.h"
 #include "locking/proto.h"