summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-02-27 18:45:53 +0100
committerJelmer Vernooij <jelmer@samba.org>2011-02-28 21:11:21 +0100
commit136c1600648f690d7709a204c4a7117bb5a868c3 (patch)
tree0196bb5951597728e3524935dc92033d89afa71f /source4/lib
parent4a42272f09aa52db8b1e11595b266d0ef8d4b041 (diff)
downloadsamba-136c1600648f690d7709a204c4a7117bb5a868c3.tar.gz
samba-136c1600648f690d7709a204c4a7117bb5a868c3.tar.bz2
samba-136c1600648f690d7709a204c4a7117bb5a868c3.zip
Use <tdb.h> to include tdb, so the system include file gets used when building against
system tdb.
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/ldb-samba/ldb_wrap.c2
-rw-r--r--source4/lib/messaging/messaging.c2
-rw-r--r--source4/lib/tdb_wrap.c2
-rw-r--r--source4/lib/tdb_wrap.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/source4/lib/ldb-samba/ldb_wrap.c b/source4/lib/ldb-samba/ldb_wrap.c
index e3e6dcecfa..7dcf514e23 100644
--- a/source4/lib/ldb-samba/ldb_wrap.c
+++ b/source4/lib/ldb-samba/ldb_wrap.c
@@ -35,7 +35,7 @@
#include "dsdb/samdb/samdb.h"
#include "param/param.h"
#include "../lib/util/dlinklist.h"
-#include "../tdb/include/tdb.h"
+#include <tdb.h>
/*
this is used to catch debug messages from ldb
diff --git a/source4/lib/messaging/messaging.c b/source4/lib/messaging/messaging.c
index c61bb7afca..f9d63203f2 100644
--- a/source4/lib/messaging/messaging.c
+++ b/source4/lib/messaging/messaging.c
@@ -30,7 +30,7 @@
#include "tdb_wrap.h"
#include "../lib/util/unix_privs.h"
#include "librpc/rpc/dcerpc.h"
-#include "../tdb/include/tdb.h"
+#include <tdb.h>
#include "../lib/util/util_tdb.h"
#include "cluster/cluster.h"
#include "../lib/util/tevent_ntstatus.h"
diff --git a/source4/lib/tdb_wrap.c b/source4/lib/tdb_wrap.c
index da27803b06..e08e4f73fc 100644
--- a/source4/lib/tdb_wrap.c
+++ b/source4/lib/tdb_wrap.c
@@ -20,7 +20,7 @@
*/
#include "includes.h"
-#include "../tdb/include/tdb.h"
+#include <tdb.h>
#include "../lib/util/dlinklist.h"
#include "tdb_wrap.h"
#include "tdb.h"
diff --git a/source4/lib/tdb_wrap.h b/source4/lib/tdb_wrap.h
index d49fafbf0c..94035c1bea 100644
--- a/source4/lib/tdb_wrap.h
+++ b/source4/lib/tdb_wrap.h
@@ -29,7 +29,7 @@
#ifndef _TDB_WRAP_H_
#define _TDB_WRAP_H_
-#include "../lib/tdb/include/tdb.h"
+#include <tdb.h>
struct tdb_wrap {
struct tdb_context *tdb;