s4-libcli: Add missing ldb header
authorAndreas Schneider <asn@samba.org>
Wed, 17 Feb 2016 10:41:47 +0000 (11:41 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 19 Feb 2016 14:58:22 +0000 (15:58 +0100)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source4/libcli/ldap/ldap_controls.c
source4/libcli/ldap/wscript_build

index 14a80af5935ddfc75f8014b6223c9f61cbc8872e..863e5b66b9c1dd05f6e3262d26fa822eef010625 100644 (file)
@@ -20,6 +20,9 @@
 */
 
 #include "includes.h"
+
+#include <ldb.h>
+
 #include "../lib/util/asn1.h"
 #include "libcli/ldap/libcli_ldap.h"
 #include "libcli/ldap/ldap_proto.h"
index 1242673164ec228e67171d403acffa73f555f00e..4588233ed355348fda554e96109cf2db9de69d66 100644 (file)
@@ -5,7 +5,7 @@ bld.SAMBA_LIBRARY('cli-ldap',
                   autoproto='ldap_proto.h',
                   public_deps='samba-errors tevent',
                   private_headers='libcli_ldap.h:ldap-util.h',
-                  deps='cli_composite LIBSAMBA_TSOCKET samba_socket NDR_SAMR LIBTLS ndr LP_RESOLVE gensec cli-ldap-common',
+                  deps='cli_composite ldb LIBSAMBA_TSOCKET samba_socket NDR_SAMR LIBTLS ndr LP_RESOLVE gensec cli-ldap-common',
                   private_library=True
                   )