s3-build: only include memcache.h where needed.
authorGünther Deschner <gd@samba.org>
Wed, 18 Aug 2010 10:24:35 +0000 (12:24 +0200)
committerGünther Deschner <gd@samba.org>
Wed, 25 Aug 2010 22:20:28 +0000 (00:20 +0200)
Guenther

13 files changed:
source3/auth/token_util.c
source3/include/includes.h
source3/lib/access.c
source3/lib/util_pw.c
source3/lib/util_sock.c
source3/passdb/lookup_sid.c
source3/passdb/pdb_interface.c
source3/smbd/globals.c
source3/smbd/mangle_hash2.c
source3/smbd/server.c
source3/smbd/statcache.c
source3/smbd/vfs.c
source3/torture/torture.c

index 21d9af1f54643dd1eeeaa6b60f7764597b830426..8f66171e407a0d50a97c9886e31c88725657e135 100644 (file)
@@ -26,6 +26,7 @@
 
 #include "includes.h"
 #include "secrets.h"
+#include "memcache.h"
 
 #include "../librpc/gen_ndr/netlogon.h"
 
index 64b4a77fd2300840902cf72baeec06cf08c0d929..dd802605e68cb2e526af1fdfc97680d4f5c2b764 100644 (file)
@@ -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"
index 1293dc024e671f8cfbb321b6b729fc6d7624c7d6..b674144150a348a3445796ab029c8f6bf3652aa3 100644 (file)
@@ -11,6 +11,7 @@
 */
 
 #include "includes.h"
+#include "memcache.h"
 
 #define NAME_INDEX 0
 #define ADDR_INDEX 1
index b0baa12c3e54f123e9299454e75e644ddc1d892e..4d4041cd5fdb6f8d85eab66de7cf8dc3552d1914 100644 (file)
@@ -20,6 +20,7 @@
 */
 
 #include "includes.h"
+#include "memcache.h"
 
 struct passwd *tcopy_passwd(TALLOC_CTX *mem_ctx, const struct passwd *from) 
 {
index e9626f31fe1652c0d117b5a6327aebcf3d4da47a..46926f629878fad23d7865dee2463920bf76edbf 100644 (file)
@@ -20,6 +20,7 @@
 */
 
 #include "includes.h"
+#include "memcache.h"
 
 /****************************************************************************
  Get a port number in host byte order from a sockaddr_storage.
index 0ec1f420f92c94e1ee6cd8767545ee722177fb91..a93145330b21b0b87215d986d035059f881974c2 100644 (file)
@@ -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.
index b11fab450818351fb932cefc21ce086a2f80c247..3c297b2300b3946bb4a05b2a94b6591a5429387c 100644 (file)
@@ -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
index 1c7afb948eb5ead5674ddc5be800faf35a953cd6..87d6405ee96b442e139b0e41d09254899f69118b 100644 (file)
@@ -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;
index 298f348661dd1e6b158ee582b1f99a72b4a37ed4..7c85a413cb9830a5d151806a0061c46c94ce4f7b 100644 (file)
@@ -65,6 +65,7 @@
 
 #include "includes.h"
 #include "smbd/globals.h"
+#include "memcache.h"
 
 #if 1
 #define M_DEBUG(level, x) DEBUG(level, x)
index 0f43022dd813c023b33d138c17cca99887954f6f..3797ae93da94afb57e372b2fd3a2fe87cf51d9e0 100644 (file)
@@ -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"
index cea27d442cab152f705c448a6c2fd2ece79d38cc..ecadbdcdd40104742a94661fd83d2d793c730419 100644 (file)
@@ -22,6 +22,7 @@
 
 #include "includes.h"
 #include "librpc/gen_ndr/messaging.h"
+#include "memcache.h"
 
 /****************************************************************************
  Stat cache code used in unix_convert.
index b75d4d1ffd5606db2673056539fda92dd5ca2e1f..d561a6b94fba84f3dd7ee40451e88cf3b5e12bee 100644 (file)
@@ -25,6 +25,7 @@
 
 #include "includes.h"
 #include "smbd/globals.h"
+#include "memcache.h"
 
 #undef DBGC_CLASS
 #define DBGC_CLASS DBGC_VFS
index 0e3ee18a37337d4e80c7ef803f64a659947791e3..2e35a1ff5da45dd77d8bea6e29a5e2501f0f8d54 100644 (file)
@@ -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;