summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-02-25 23:20:06 +0100
committerGünther Deschner <gd@samba.org>2011-03-30 01:13:07 +0200
commit0e771263eed0b9bc364ce523765ea17dd1192841 (patch)
tree95c96ef7fd2d0c8e1d416c5eec817d3db055f5d0 /source3/smbd
parent64422d973583a510e6ea2e655bf398ea85f445b5 (diff)
downloadsamba-0e771263eed0b9bc364ce523765ea17dd1192841.tar.gz
samba-0e771263eed0b9bc364ce523765ea17dd1192841.tar.bz2
samba-0e771263eed0b9bc364ce523765ea17dd1192841.zip
s3-includes: only include system/filesys.h when needed.
Guenther
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/close.c1
-rw-r--r--source3/smbd/dir.c1
-rw-r--r--source3/smbd/dosmode.c1
-rw-r--r--source3/smbd/file_access.c1
-rw-r--r--source3/smbd/filename.c1
-rw-r--r--source3/smbd/mangle_hash.c1
-rw-r--r--source3/smbd/msdfs.c1
-rw-r--r--source3/smbd/notify_internal.c1
-rw-r--r--source3/smbd/nttrans.c1
-rw-r--r--source3/smbd/open.c1
-rw-r--r--source3/smbd/oplock_linux.c1
-rw-r--r--source3/smbd/posix_acls.c1
-rw-r--r--source3/smbd/process.c1
-rw-r--r--source3/smbd/reply.c1
-rw-r--r--source3/smbd/server.c1
-rw-r--r--source3/smbd/service.c1
-rw-r--r--source3/smbd/smb2_read.c1
-rw-r--r--source3/smbd/statvfs.c1
-rw-r--r--source3/smbd/trans2.c1
-rw-r--r--source3/smbd/vfs.c1
20 files changed, 20 insertions, 0 deletions
diff --git a/source3/smbd/close.c b/source3/smbd/close.c
index 547705bc57..b2b8c2283a 100644
--- a/source3/smbd/close.c
+++ b/source3/smbd/close.c
@@ -20,6 +20,7 @@
*/
#include "includes.h"
+#include "system/filesys.h"
#include "printing.h"
#include "librpc/gen_ndr/messaging.h"
#include "smbd/globals.h"
diff --git a/source3/smbd/dir.c b/source3/smbd/dir.c
index a85e5a7e1d..c1ba6764fc 100644
--- a/source3/smbd/dir.c
+++ b/source3/smbd/dir.c
@@ -19,6 +19,7 @@
*/
#include "includes.h"
+#include "system/filesys.h"
#include "smbd/globals.h"
#include "libcli/security/security.h"
diff --git a/source3/smbd/dosmode.c b/source3/smbd/dosmode.c
index 325a3c6461..49ddf161ad 100644
--- a/source3/smbd/dosmode.c
+++ b/source3/smbd/dosmode.c
@@ -19,6 +19,7 @@
*/
#include "includes.h"
+#include "system/filesys.h"
#include "librpc/gen_ndr/ndr_xattr.h"
#include "../libcli/security/security.h"
diff --git a/source3/smbd/file_access.c b/source3/smbd/file_access.c
index 28d028fcb1..5fb0e924c5 100644
--- a/source3/smbd/file_access.c
+++ b/source3/smbd/file_access.c
@@ -19,6 +19,7 @@
*/
#include "includes.h"
+#include "system/filesys.h"
#include "../libcli/security/security.h"
#include "../librpc/gen_ndr/ndr_security.h"
diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c
index 03877218de..4238e58d10 100644
--- a/source3/smbd/filename.c
+++ b/source3/smbd/filename.c
@@ -25,6 +25,7 @@
*/
#include "includes.h"
+#include "system/filesys.h"
#include "fake_file.h"
static NTSTATUS build_stream_path(TALLOC_CTX *mem_ctx,
diff --git a/source3/smbd/mangle_hash.c b/source3/smbd/mangle_hash.c
index 13e797c0e5..89df10a757 100644
--- a/source3/smbd/mangle_hash.c
+++ b/source3/smbd/mangle_hash.c
@@ -21,6 +21,7 @@
*/
#include "includes.h"
+#include "system/filesys.h"
#include "smbd/globals.h"
#include "mangle.h"
diff --git a/source3/smbd/msdfs.c b/source3/smbd/msdfs.c
index d5d46fd539..17caa36d5d 100644
--- a/source3/smbd/msdfs.c
+++ b/source3/smbd/msdfs.c
@@ -22,6 +22,7 @@
#define DBGC_CLASS DBGC_MSDFS
#include "includes.h"
+#include "system/filesys.h"
#include "smbd/globals.h"
#include "msdfs.h"
diff --git a/source3/smbd/notify_internal.c b/source3/smbd/notify_internal.c
index acb438b118..3b481cdef9 100644
--- a/source3/smbd/notify_internal.c
+++ b/source3/smbd/notify_internal.c
@@ -24,6 +24,7 @@
*/
#include "includes.h"
+#include "system/filesys.h"
#include "librpc/gen_ndr/ndr_notify.h"
#include "librpc/gen_ndr/messaging.h"
#include "dbwrap.h"
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index afc4f54cf2..c1256f259f 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -19,6 +19,7 @@
*/
#include "includes.h"
+#include "system/filesys.h"
#include "smbd/globals.h"
#include "fake_file.h"
#include "../libcli/security/security.h"
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index 937117bee0..3c91d8485e 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -20,6 +20,7 @@
*/
#include "includes.h"
+#include "system/filesys.h"
#include "printing.h"
#include "smbd/globals.h"
#include "fake_file.h"
diff --git a/source3/smbd/oplock_linux.c b/source3/smbd/oplock_linux.c
index bdc86b9fb9..efc8c70d39 100644
--- a/source3/smbd/oplock_linux.c
+++ b/source3/smbd/oplock_linux.c
@@ -19,6 +19,7 @@
#define DBGC_CLASS DBGC_LOCKING
#include "includes.h"
+#include "system/filesys.h"
#include "smbd/globals.h"
#if HAVE_KERNEL_OPLOCKS_LINUX
diff --git a/source3/smbd/posix_acls.c b/source3/smbd/posix_acls.c
index 8e2c9d871b..0e7ab87b6e 100644
--- a/source3/smbd/posix_acls.c
+++ b/source3/smbd/posix_acls.c
@@ -20,6 +20,7 @@
*/
#include "includes.h"
+#include "system/filesys.h"
#include "../libcli/security/security.h"
#include "trans2.h"
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index 48d317bba2..29eb201bed 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -19,6 +19,7 @@
*/
#include "includes.h"
+#include "system/filesys.h"
#include "smbd/globals.h"
#include "librpc/gen_ndr/netlogon.h"
#include "librpc/gen_ndr/messaging.h"
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 26a73b8582..7562ca1805 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -25,6 +25,7 @@
*/
#include "includes.h"
+#include "system/filesys.h"
#include "printing.h"
#include "smbd/globals.h"
#include "fake_file.h"
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 8c7b146e19..7461eef62f 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -22,6 +22,7 @@
*/
#include "includes.h"
+#include "system/filesys.h"
#include "popt_common.h"
#include "smbd/globals.h"
#include "librpc/gen_ndr/messaging.h"
diff --git a/source3/smbd/service.c b/source3/smbd/service.c
index 00b5294be6..800b79989f 100644
--- a/source3/smbd/service.c
+++ b/source3/smbd/service.c
@@ -18,6 +18,7 @@
*/
#include "includes.h"
+#include "system/filesys.h"
#include "smbd/globals.h"
#include "../librpc/gen_ndr/netlogon.h"
#include "../libcli/security/security.h"
diff --git a/source3/smbd/smb2_read.c b/source3/smbd/smb2_read.c
index d5f6896f64..ce3955b53a 100644
--- a/source3/smbd/smb2_read.c
+++ b/source3/smbd/smb2_read.c
@@ -19,6 +19,7 @@
*/
#include "includes.h"
+#include "system/filesys.h"
#include "smbd/globals.h"
#include "../libcli/smb/smb_common.h"
#include "libcli/security/security.h"
diff --git a/source3/smbd/statvfs.c b/source3/smbd/statvfs.c
index ee33e13a48..55469f5d08 100644
--- a/source3/smbd/statvfs.c
+++ b/source3/smbd/statvfs.c
@@ -20,6 +20,7 @@
*/
#include "includes.h"
+#include "system/filesys.h"
#if defined(LINUX) && defined(HAVE_FSID_INT)
static int linux_statvfs(const char *path, vfs_statvfs_struct *statbuf)
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index 1fcbfaac23..5e8c0c80d8 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -24,6 +24,7 @@
*/
#include "includes.h"
+#include "system/filesys.h"
#include "version.h"
#include "smbd/globals.h"
#include "../libcli/auth/libcli_auth.h"
diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c
index 41d3650413..7af94f94b5 100644
--- a/source3/smbd/vfs.c
+++ b/source3/smbd/vfs.c
@@ -24,6 +24,7 @@
*/
#include "includes.h"
+#include "system/filesys.h"
#include "smbd/globals.h"
#include "memcache.h"