summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-08-18 18:59:23 +0200
committerGünther Deschner <gd@samba.org>2010-08-26 00:25:55 +0200
commit7a05ca2c9cd387a92e1ad699ae72caea55895c13 (patch)
treef62c3b24c67766013470d40f2193747e234634dd /source3/lib
parentca765d2f50f8eff1537f70bb637918d90301acf4 (diff)
downloadsamba-7a05ca2c9cd387a92e1ad699ae72caea55895c13.tar.gz
samba-7a05ca2c9cd387a92e1ad699ae72caea55895c13.tar.bz2
samba-7a05ca2c9cd387a92e1ad699ae72caea55895c13.zip
s3-build: use dbwrap.h only where needed.
Guenther
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/conn_tdb.c1
-rw-r--r--source3/lib/dbwrap.c1
-rw-r--r--source3/lib/dbwrap_rbt.c1
-rw-r--r--source3/lib/dbwrap_tdb.c1
-rw-r--r--source3/lib/dbwrap_util.c1
-rw-r--r--source3/lib/messages.c1
-rw-r--r--source3/lib/privileges.c1
-rw-r--r--source3/lib/serverid.c1
-rw-r--r--source3/lib/sessionid_tdb.c1
-rw-r--r--source3/lib/sharesec.c1
-rw-r--r--source3/lib/talloc_dict.c1
11 files changed, 11 insertions, 0 deletions
diff --git a/source3/lib/conn_tdb.c b/source3/lib/conn_tdb.c
index b95b4cd377..75841cce65 100644
--- a/source3/lib/conn_tdb.c
+++ b/source3/lib/conn_tdb.c
@@ -19,6 +19,7 @@
#include "includes.h"
#include "smbd/globals.h"
+#include "dbwrap.h"
static struct db_context *connections_db_ctx(bool rw)
{
diff --git a/source3/lib/dbwrap.c b/source3/lib/dbwrap.c
index 8b3db8940a..4e7346c2c4 100644
--- a/source3/lib/dbwrap.c
+++ b/source3/lib/dbwrap.c
@@ -20,6 +20,7 @@
*/
#include "includes.h"
+#include "dbwrap.h"
#ifdef CLUSTER_SUPPORT
#include "ctdb_private.h"
#endif
diff --git a/source3/lib/dbwrap_rbt.c b/source3/lib/dbwrap_rbt.c
index e9b0e4616f..af88c79e6a 100644
--- a/source3/lib/dbwrap_rbt.c
+++ b/source3/lib/dbwrap_rbt.c
@@ -18,6 +18,7 @@
*/
#include "includes.h"
+#include "dbwrap.h"
#include "../lib/util/rbtree.h"
#define DBWRAP_RBT_ALIGN(_size_) (((_size_)+15)&~15)
diff --git a/source3/lib/dbwrap_tdb.c b/source3/lib/dbwrap_tdb.c
index 297a351764..4cdc1930ee 100644
--- a/source3/lib/dbwrap_tdb.c
+++ b/source3/lib/dbwrap_tdb.c
@@ -18,6 +18,7 @@
*/
#include "includes.h"
+#include "dbwrap.h"
struct db_tdb_ctx {
struct tdb_wrap *wtdb;
diff --git a/source3/lib/dbwrap_util.c b/source3/lib/dbwrap_util.c
index 74b22655e2..8ebc4f474f 100644
--- a/source3/lib/dbwrap_util.c
+++ b/source3/lib/dbwrap_util.c
@@ -20,6 +20,7 @@
*/
#include "includes.h"
+#include "dbwrap.h"
int32_t dbwrap_fetch_int32(struct db_context *db, const char *keystr)
{
diff --git a/source3/lib/messages.c b/source3/lib/messages.c
index ba0cd8023c..5212c8eb4d 100644
--- a/source3/lib/messages.c
+++ b/source3/lib/messages.c
@@ -48,6 +48,7 @@
#include "includes.h"
#include "librpc/gen_ndr/messaging.h"
#include "librpc/gen_ndr/ndr_messaging.h"
+#include "dbwrap.h"
struct messaging_callback {
struct messaging_callback *prev, *next;
diff --git a/source3/lib/privileges.c b/source3/lib/privileges.c
index 86f84904f3..f629d45c1d 100644
--- a/source3/lib/privileges.c
+++ b/source3/lib/privileges.c
@@ -22,6 +22,7 @@
#include "includes.h"
+#include "dbwrap.h"
#define PRIVPREFIX "PRIV_"
diff --git a/source3/lib/serverid.c b/source3/lib/serverid.c
index 0fac3759e7..fefcc5df7c 100644
--- a/source3/lib/serverid.c
+++ b/source3/lib/serverid.c
@@ -19,6 +19,7 @@
#include "includes.h"
#include "serverid.h"
+#include "dbwrap.h"
struct serverid_key {
pid_t pid;
diff --git a/source3/lib/sessionid_tdb.c b/source3/lib/sessionid_tdb.c
index 6efbafd46d..1515728bd9 100644
--- a/source3/lib/sessionid_tdb.c
+++ b/source3/lib/sessionid_tdb.c
@@ -18,6 +18,7 @@
*/
#include "includes.h"
+#include "dbwrap.h"
static struct db_context *session_db_ctx(void)
{
diff --git a/source3/lib/sharesec.c b/source3/lib/sharesec.c
index f84c8c5f81..1b137a66db 100644
--- a/source3/lib/sharesec.c
+++ b/source3/lib/sharesec.c
@@ -19,6 +19,7 @@
#include "includes.h"
#include "../librpc/gen_ndr/ndr_security.h"
+#include "dbwrap.h"
/*******************************************************************
Create the share security tdb.
diff --git a/source3/lib/talloc_dict.c b/source3/lib/talloc_dict.c
index 18b88d9931..94c2e5201e 100644
--- a/source3/lib/talloc_dict.c
+++ b/source3/lib/talloc_dict.c
@@ -18,6 +18,7 @@
*/
#include "includes.h"
+#include "dbwrap.h"
struct talloc_dict {
struct db_context *db;