summaryrefslogtreecommitdiff
path: root/source4/nbt_server/wins
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-02-10 14:12:51 +1100
committerAndrew Tridgell <tridge@samba.org>2011-02-10 06:51:07 +0100
commit8dc92c8f71311e95a3a3c297b32ed46477228f56 (patch)
tree227e9e372d6939f1d403b3253e47d3abf997035a /source4/nbt_server/wins
parente26b1a69689c8123bddf33830e9659d460815531 (diff)
downloadsamba-8dc92c8f71311e95a3a3c297b32ed46477228f56.tar.gz
samba-8dc92c8f71311e95a3a3c297b32ed46477228f56.tar.bz2
samba-8dc92c8f71311e95a3a3c297b32ed46477228f56.zip
ldb: use #include <ldb.h> for ldb
thi ensures we are using the header corresponding to the version of ldb we're linking against. Otherwise we could use the system ldb for link and the in-tree one for include Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/nbt_server/wins')
-rw-r--r--source4/nbt_server/wins/wins_ldb.c2
-rw-r--r--source4/nbt_server/wins/winsdb.c4
-rw-r--r--source4/nbt_server/wins/winsserver.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/source4/nbt_server/wins/wins_ldb.c b/source4/nbt_server/wins/wins_ldb.c
index 33c10581c3..0896e1d74e 100644
--- a/source4/nbt_server/wins/wins_ldb.c
+++ b/source4/nbt_server/wins/wins_ldb.c
@@ -31,7 +31,7 @@
#include "lib/events/events.h"
#include "nbt_server/nbt_server.h"
#include "nbt_server/wins/winsdb.h"
-#include "lib/ldb/include/ldb_module.h"
+#include <ldb_module.h>
#include "system/network.h"
#include "lib/socket/netif.h"
#include "param/param.h"
diff --git a/source4/nbt_server/wins/winsdb.c b/source4/nbt_server/wins/winsdb.c
index 9ed4d0ac0a..791ce957c7 100644
--- a/source4/nbt_server/wins/winsdb.c
+++ b/source4/nbt_server/wins/winsdb.c
@@ -23,8 +23,8 @@
#include "includes.h"
#include "nbt_server/nbt_server.h"
#include "nbt_server/wins/winsdb.h"
-#include "lib/ldb/include/ldb.h"
-#include "lib/ldb/include/ldb_errors.h"
+#include <ldb.h>
+#include <ldb_errors.h>
#include "librpc/gen_ndr/ndr_nbt.h"
#include "system/time.h"
#include "ldb_wrap.h"
diff --git a/source4/nbt_server/wins/winsserver.c b/source4/nbt_server/wins/winsserver.c
index 516258e892..1e6a0cfca8 100644
--- a/source4/nbt_server/wins/winsserver.c
+++ b/source4/nbt_server/wins/winsserver.c
@@ -32,7 +32,7 @@
#include "system/network.h"
#include "lib/socket/socket.h"
#include "lib/socket/netif.h"
-#include "lib/ldb/include/ldb.h"
+#include <ldb.h>
#include "param/param.h"
#include "libcli/resolve/resolve.h"
#include "lib/util/util_net.h"