diff options
author | Günther Deschner <gd@samba.org> | 2010-08-18 12:24:35 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-08-26 00:20:28 +0200 |
commit | aba1bf4b5e1bf82f769c3c545578414202c74106 (patch) | |
tree | 28fe0939b1aabdd8ba42d8441a3db58a627ee84a | |
parent | c5ffecb136225dba294327cc3a437e5f17475253 (diff) | |
download | samba-aba1bf4b5e1bf82f769c3c545578414202c74106.tar.gz samba-aba1bf4b5e1bf82f769c3c545578414202c74106.tar.bz2 samba-aba1bf4b5e1bf82f769c3c545578414202c74106.zip |
s3-build: only include memcache.h where needed.
Guenther
-rw-r--r-- | source3/auth/token_util.c | 1 | ||||
-rw-r--r-- | source3/include/includes.h | 1 | ||||
-rw-r--r-- | source3/lib/access.c | 1 | ||||
-rw-r--r-- | source3/lib/util_pw.c | 1 | ||||
-rw-r--r-- | source3/lib/util_sock.c | 1 | ||||
-rw-r--r-- | source3/passdb/lookup_sid.c | 1 | ||||
-rw-r--r-- | source3/passdb/pdb_interface.c | 1 | ||||
-rw-r--r-- | source3/smbd/globals.c | 1 | ||||
-rw-r--r-- | source3/smbd/mangle_hash2.c | 1 | ||||
-rw-r--r-- | source3/smbd/server.c | 1 | ||||
-rw-r--r-- | source3/smbd/statcache.c | 1 | ||||
-rw-r--r-- | source3/smbd/vfs.c | 1 | ||||
-rw-r--r-- | source3/torture/torture.c | 1 |
13 files changed, 12 insertions, 1 deletions
diff --git a/source3/auth/token_util.c b/source3/auth/token_util.c index 21d9af1f54..8f66171e40 100644 --- a/source3/auth/token_util.c +++ b/source3/auth/token_util.c @@ -26,6 +26,7 @@ #include "includes.h" #include "secrets.h" +#include "memcache.h" #include "../librpc/gen_ndr/netlogon.h" diff --git a/source3/include/includes.h b/source3/include/includes.h index 64b4a77fd2..dd802605e6 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -664,7 +664,6 @@ struct ntlmssp_state; #include "packet.h" #include "ctdbd_conn.h" #include "../lib/util/talloc_stack.h" -#include "memcache.h" #include "serverid.h" #include "async_smb.h" #include "../lib/async_req/async_sock.h" diff --git a/source3/lib/access.c b/source3/lib/access.c index 1293dc024e..b674144150 100644 --- a/source3/lib/access.c +++ b/source3/lib/access.c @@ -11,6 +11,7 @@ */ #include "includes.h" +#include "memcache.h" #define NAME_INDEX 0 #define ADDR_INDEX 1 diff --git a/source3/lib/util_pw.c b/source3/lib/util_pw.c index b0baa12c3e..4d4041cd5f 100644 --- a/source3/lib/util_pw.c +++ b/source3/lib/util_pw.c @@ -20,6 +20,7 @@ */ #include "includes.h" +#include "memcache.h" struct passwd *tcopy_passwd(TALLOC_CTX *mem_ctx, const struct passwd *from) { diff --git a/source3/lib/util_sock.c b/source3/lib/util_sock.c index e9626f31fe..46926f6298 100644 --- a/source3/lib/util_sock.c +++ b/source3/lib/util_sock.c @@ -20,6 +20,7 @@ */ #include "includes.h" +#include "memcache.h" /**************************************************************************** Get a port number in host byte order from a sockaddr_storage. diff --git a/source3/passdb/lookup_sid.c b/source3/passdb/lookup_sid.c index 0ec1f420f9..a93145330b 100644 --- a/source3/passdb/lookup_sid.c +++ b/source3/passdb/lookup_sid.c @@ -22,6 +22,7 @@ #include "includes.h" #include "../librpc/gen_ndr/ndr_security.h" #include "secrets.h" +#include "memcache.h" /***************************************************************** Dissect a user-provided name into domain, name, sid and type. diff --git a/source3/passdb/pdb_interface.c b/source3/passdb/pdb_interface.c index b11fab4508..3c297b2300 100644 --- a/source3/passdb/pdb_interface.c +++ b/source3/passdb/pdb_interface.c @@ -23,6 +23,7 @@ #include "includes.h" #include "secrets.h" #include "../librpc/gen_ndr/samr.h" +#include "memcache.h" #undef DBGC_CLASS #define DBGC_CLASS DBGC_PASSDB 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 diff --git a/source3/torture/torture.c b/source3/torture/torture.c index 0e3ee18a37..2e35a1ff5d 100644 --- a/source3/torture/torture.c +++ b/source3/torture/torture.c @@ -25,6 +25,7 @@ #include "tldap.h" #include "tldap_util.h" #include "../librpc/gen_ndr/svcctl.h" +#include "memcache.h" extern char *optarg; extern int optind; |