summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-08-18 19:05:59 +0200
committerGünther Deschner <gd@samba.org>2010-08-26 00:25:58 +0200
commit8b4f5319efdb43cc5858424528ee5d4a9dcea730 (patch)
tree4ed65a4d9f84828607ae54388fa27561c26ab713
parent7a05ca2c9cd387a92e1ad699ae72caea55895c13 (diff)
downloadsamba-8b4f5319efdb43cc5858424528ee5d4a9dcea730.tar.gz
samba-8b4f5319efdb43cc5858424528ee5d4a9dcea730.tar.bz2
samba-8b4f5319efdb43cc5858424528ee5d4a9dcea730.zip
s3-build: use talloc_dict.h only where needed.
Guenther
-rw-r--r--source3/include/includes.h1
-rw-r--r--source3/lib/talloc_dict.c1
-rw-r--r--source3/torture/torture.c1
-rw-r--r--source3/winbindd/winbindd.h2
4 files changed, 4 insertions, 1 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 30ff742ffd..2592088112 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -659,7 +659,6 @@ extern void *cmdline_lp_ctx;
#include "serverid.h"
#include "async_smb.h"
#include "../lib/async_req/async_sock.h"
-#include "talloc_dict.h"
#include "../lib/util/smb_threads.h"
#include "../lib/util/smb_threads_internal.h"
diff --git a/source3/lib/talloc_dict.c b/source3/lib/talloc_dict.c
index 94c2e5201e..cbe5c7b5c2 100644
--- a/source3/lib/talloc_dict.c
+++ b/source3/lib/talloc_dict.c
@@ -19,6 +19,7 @@
#include "includes.h"
#include "dbwrap.h"
+#include "talloc_dict.h"
struct talloc_dict {
struct db_context *db;
diff --git a/source3/torture/torture.c b/source3/torture/torture.c
index bc0e573011..8a2aec67d5 100644
--- a/source3/torture/torture.c
+++ b/source3/torture/torture.c
@@ -28,6 +28,7 @@
#include "memcache.h"
#include "nsswitch/winbind_client.h"
#include "dbwrap.h"
+#include "talloc_dict.h"
extern char *optarg;
extern int optind;
diff --git a/source3/winbindd/winbindd.h b/source3/winbindd/winbindd.h
index 77aab85834..d7a53e2d66 100644
--- a/source3/winbindd/winbindd.h
+++ b/source3/winbindd/winbindd.h
@@ -27,6 +27,8 @@
#include "nsswitch/libwbclient/wbclient.h"
#include "librpc/gen_ndr/wbint.h"
+#include "talloc_dict.h"
+
#ifdef HAVE_LIBNSCD
#include <libnscd.h>
#endif