summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-02-25 00:03:01 +0100
committerGünther Deschner <gd@samba.org>2011-03-30 01:13:06 +0200
commit99f4a6454356c563704c6acb762679a6afa90737 (patch)
treecf3891ae73943313a5a5b395df78ef672b4f714c /source3/smbd
parentd85f140826374dd5ad3e7099b6bdb74967c6b9da (diff)
downloadsamba-99f4a6454356c563704c6acb762679a6afa90737.tar.gz
samba-99f4a6454356c563704c6acb762679a6afa90737.tar.bz2
samba-99f4a6454356c563704c6acb762679a6afa90737.zip
s3-trans2: only include trans2.h where needed.
Guenther
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/posix_acls.c1
-rw-r--r--source3/smbd/smb2_find.c1
-rw-r--r--source3/smbd/smb2_getinfo.c1
-rw-r--r--source3/smbd/smb2_setinfo.c1
-rw-r--r--source3/smbd/trans2.c1
5 files changed, 5 insertions, 0 deletions
diff --git a/source3/smbd/posix_acls.c b/source3/smbd/posix_acls.c
index ebdc644ef9..8e2c9d871b 100644
--- a/source3/smbd/posix_acls.c
+++ b/source3/smbd/posix_acls.c
@@ -21,6 +21,7 @@
#include "includes.h"
#include "../libcli/security/security.h"
+#include "trans2.h"
extern const struct generic_mapping file_generic_mapping;
diff --git a/source3/smbd/smb2_find.c b/source3/smbd/smb2_find.c
index fe5dee618e..4c779f92e7 100644
--- a/source3/smbd/smb2_find.c
+++ b/source3/smbd/smb2_find.c
@@ -21,6 +21,7 @@
#include "includes.h"
#include "smbd/globals.h"
#include "../libcli/smb/smb_common.h"
+#include "trans2.h"
static struct tevent_req *smbd_smb2_find_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
diff --git a/source3/smbd/smb2_getinfo.c b/source3/smbd/smb2_getinfo.c
index 123531c351..70225f18d2 100644
--- a/source3/smbd/smb2_getinfo.c
+++ b/source3/smbd/smb2_getinfo.c
@@ -22,6 +22,7 @@
#include "includes.h"
#include "smbd/globals.h"
#include "../libcli/smb/smb_common.h"
+#include "trans2.h"
static struct tevent_req *smbd_smb2_getinfo_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
diff --git a/source3/smbd/smb2_setinfo.c b/source3/smbd/smb2_setinfo.c
index 26d94e2b10..ba06fb3db7 100644
--- a/source3/smbd/smb2_setinfo.c
+++ b/source3/smbd/smb2_setinfo.c
@@ -22,6 +22,7 @@
#include "includes.h"
#include "smbd/globals.h"
#include "../libcli/smb/smb_common.h"
+#include "trans2.h"
static struct tevent_req *smbd_smb2_setinfo_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index 12cbc3b9e9..1fcbfaac23 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -30,6 +30,7 @@
#include "../librpc/gen_ndr/xattr.h"
#include "../librpc/gen_ndr/ndr_security.h"
#include "libcli/security/security.h"
+#include "trans2.h"
#define DIR_ENTRY_SAFETY_MARGIN 4096