summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-08-18 12:24:35 +0200
committerGünther Deschner <gd@samba.org>2010-08-26 00:20:28 +0200
commitaba1bf4b5e1bf82f769c3c545578414202c74106 (patch)
tree28fe0939b1aabdd8ba42d8441a3db58a627ee84a /source3/smbd
parentc5ffecb136225dba294327cc3a437e5f17475253 (diff)
downloadsamba-aba1bf4b5e1bf82f769c3c545578414202c74106.tar.gz
samba-aba1bf4b5e1bf82f769c3c545578414202c74106.tar.bz2
samba-aba1bf4b5e1bf82f769c3c545578414202c74106.zip
s3-build: only include memcache.h where needed.
Guenther
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/globals.c1
-rw-r--r--source3/smbd/mangle_hash2.c1
-rw-r--r--source3/smbd/server.c1
-rw-r--r--source3/smbd/statcache.c1
-rw-r--r--source3/smbd/vfs.c1
5 files changed, 5 insertions, 0 deletions
diff --git a/source3/smbd/globals.c b/source3/smbd/globals.c
index 1c7afb948e..87d6405ee9 100644
--- a/source3/smbd/globals.c
+++ b/source3/smbd/globals.c
@@ -19,6 +19,7 @@
#include "includes.h"
#include "smbd/globals.h"
+#include "memcache.h"
#if defined(WITH_AIO)
struct aio_extra *aio_list_head = NULL;
diff --git a/source3/smbd/mangle_hash2.c b/source3/smbd/mangle_hash2.c
index 298f348661..7c85a413cb 100644
--- a/source3/smbd/mangle_hash2.c
+++ b/source3/smbd/mangle_hash2.c
@@ -65,6 +65,7 @@
#include "includes.h"
#include "smbd/globals.h"
+#include "memcache.h"
#if 1
#define M_DEBUG(level, x) DEBUG(level, x)
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 0f43022dd8..3797ae93da 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -28,6 +28,7 @@
#include "registry.h"
#include "libcli/auth/schannel.h"
#include "secrets.h"
+#include "memcache.h"
#include "../librpc/gen_ndr/srv_dfs.h"
#include "../librpc/gen_ndr/srv_dssetup.h"
diff --git a/source3/smbd/statcache.c b/source3/smbd/statcache.c
index cea27d442c..ecadbdcdd4 100644
--- a/source3/smbd/statcache.c
+++ b/source3/smbd/statcache.c
@@ -22,6 +22,7 @@
#include "includes.h"
#include "librpc/gen_ndr/messaging.h"
+#include "memcache.h"
/****************************************************************************
Stat cache code used in unix_convert.
diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c
index b75d4d1ffd..d561a6b94f 100644
--- a/source3/smbd/vfs.c
+++ b/source3/smbd/vfs.c
@@ -25,6 +25,7 @@
#include "includes.h"
#include "smbd/globals.h"
+#include "memcache.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_VFS