summaryrefslogtreecommitdiff
path: root/source3/groupdb
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-05-05 11:25:29 +0200
committerGünther Deschner <gd@samba.org>2011-05-06 10:48:10 +0200
commitd8cfca3a9bd2b6b6c562fd202377d95a98eb5472 (patch)
tree96fc9d454a01cbb2c26a8db22f41b8bf0dc40879 /source3/groupdb
parent8aae59a277fe4bf5a1a84cb4730e5772c9ffca8c (diff)
downloadsamba-d8cfca3a9bd2b6b6c562fd202377d95a98eb5472.tar.gz
samba-d8cfca3a9bd2b6b6c562fd202377d95a98eb5472.tar.bz2
samba-d8cfca3a9bd2b6b6c562fd202377d95a98eb5472.zip
s3: only include tdb headers where needed.
Guenther
Diffstat (limited to 'source3/groupdb')
-rw-r--r--source3/groupdb/mapping.c1
-rw-r--r--source3/groupdb/mapping_tdb.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/source3/groupdb/mapping.c b/source3/groupdb/mapping.c
index d35f3c5f34..04af27bcf3 100644
--- a/source3/groupdb/mapping.c
+++ b/source3/groupdb/mapping.c
@@ -26,6 +26,7 @@
#include "groupdb/mapping.h"
#include "../libcli/security/security.h"
#include "lib/winbind_util.h"
+#include <tdb.h>
static const struct mapping_backend *backend;
diff --git a/source3/groupdb/mapping_tdb.c b/source3/groupdb/mapping_tdb.c
index 1137b8f658..60cdbf1447 100644
--- a/source3/groupdb/mapping_tdb.c
+++ b/source3/groupdb/mapping_tdb.c
@@ -25,6 +25,7 @@
#include "passdb.h"
#include "groupdb/mapping.h"
#include "dbwrap.h"
+#include "util_tdb.h"
#include "../libcli/security/security.h"
static struct db_context *db; /* used for driver files */