s4:torture/ldap: add includes to avoid compiler warnings
authorStefan Metzmacher <metze@samba.org>
Thu, 27 Feb 2014 08:08:17 +0000 (09:08 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 2 Apr 2014 07:03:45 +0000 (09:03 +0200)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/torture/ldap/cldapbench.c
source4/torture/ldap/ldap_sort.c
source4/torture/ldap/nested_search.c
source4/torture/ldap/schema.c
source4/torture/ldap/uptodatevector.c

index 36b319dec697261f3c0f8cc2937cb0524c4b1de1..9b6f7f2e6e4b9467b8af5fc8a826850a5d08e7b8 100644 (file)
@@ -22,7 +22,9 @@
 #include "includes.h"
 #include "libcli/cldap/cldap.h"
 #include "libcli/resolve/resolve.h"
+#include "libcli/ldap/ldap_client.h"
 #include "torture/torture.h"
+#include "torture/ldap/proto.h"
 #include "param/param.h"
 #include "../lib/tsocket/tsocket.h"
 
index c0fa41aab84c14d65532f4b5f3937bb4dbbc87fe..ee5855540d35858cc5e7e9bc7e40dfb6ea0fe1e5 100644 (file)
@@ -27,8 +27,9 @@
 #include "ldb_wrap.h"
 #include "param/param.h"
 #include "lib/cmdline/popt_common.h" 
+#include "libcli/ldap/ldap_client.h"
 #include "torture/smbtorture.h"
-#include "torture/local/proto.h"
+#include "torture/ldap/proto.h"
 #include <ctype.h>
 
 bool torture_ldap_sort(struct torture_context *torture)
index 978c880b380b4f47d435fd2d789ae34cdfc2a0fa..47299c2c2131ef20a690c460f5d43f1143e9f240 100644 (file)
@@ -23,7 +23,9 @@
 #include "ldb.h"
 #include "ldb_wrap.h"
 #include "lib/cmdline/popt_common.h"
+#include "libcli/ldap/ldap_client.h"
 #include "torture/torture.h"
+#include "torture/ldap/proto.h"
 
 #define torture_assert_res(torture_ctx,expr,cmt,_res) \
        if (!(expr)) { \
index 66284f1ef0e2ae961ad7beda1749863345a9f988..8f40d944234186e2f6b1085124f391aeb1f39016 100644 (file)
@@ -27,6 +27,7 @@
 #include "../lib/util/dlinklist.h"
 
 #include "torture/torture.h"
+#include "torture/ldap/proto.h"
 
 
 struct test_rootDSE {
index 5a03cacfbebd49fdbc7e82ad39b3d59f0dff4462..d2a8980f3ba11df915067fbb07e34cd650f4c338 100644 (file)
@@ -26,6 +26,7 @@
 #include "dsdb/samdb/samdb.h"
 
 #include "torture/torture.h"
+#include "torture/ldap/proto.h"
 
 #include "librpc/gen_ndr/ndr_drsblobs.h"