summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-08-18 16:44:47 +0200
committerGünther Deschner <gd@samba.org>2010-08-26 00:20:28 +0200
commitb5bdcdd65e5292223fae9892eb5575b872b27591 (patch)
treea23a690dd1d7da5d7767eaf4752f8e7ec3d4e588 /source3/smbd
parentc2177909187ad104d5d2e13bad0f45fb97d121e2 (diff)
downloadsamba-b5bdcdd65e5292223fae9892eb5575b872b27591.tar.gz
samba-b5bdcdd65e5292223fae9892eb5575b872b27591.tar.bz2
samba-b5bdcdd65e5292223fae9892eb5575b872b27591.zip
s3-build: only include "fake_file.h" where needed.
Guenther
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/fake_file.c1
-rw-r--r--source3/smbd/filename.c1
-rw-r--r--source3/smbd/nttrans.c1
-rw-r--r--source3/smbd/open.c1
-rw-r--r--source3/smbd/reply.c1
5 files changed, 5 insertions, 0 deletions
diff --git a/source3/smbd/fake_file.c b/source3/smbd/fake_file.c
index 9a6931f4e3..d844261efb 100644
--- a/source3/smbd/fake_file.c
+++ b/source3/smbd/fake_file.c
@@ -18,6 +18,7 @@
*/
#include "includes.h"
+#include "fake_file.h"
struct fake_file_type {
const char *name;
diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c
index 154d34a4c0..8f9b8558c1 100644
--- a/source3/smbd/filename.c
+++ b/source3/smbd/filename.c
@@ -25,6 +25,7 @@
*/
#include "includes.h"
+#include "fake_file.h"
static NTSTATUS build_stream_path(TALLOC_CTX *mem_ctx,
connection_struct *conn,
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index 965d279183..78774dc1b0 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -20,6 +20,7 @@
#include "includes.h"
#include "smbd/globals.h"
+#include "fake_file.h"
#include "../librpc/gen_ndr/ndr_security.h"
extern const struct generic_mapping file_generic_mapping;
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index ba1fbf227c..2009d2ab15 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -22,6 +22,7 @@
#include "includes.h"
#include "printing.h"
#include "smbd/globals.h"
+#include "fake_file.h"
#include "librpc/gen_ndr/messaging.h"
#include "../librpc/gen_ndr/ndr_security.h"
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 0775b398d5..5533ee07d1 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -27,6 +27,7 @@
#include "includes.h"
#include "printing.h"
#include "smbd/globals.h"
+#include "fake_file.h"
#include "../librpc/gen_ndr/cli_spoolss.h"
#include "rpc_client/cli_spoolss.h"
#include "rpc_client/init_spoolss.h"