summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/winbindd.h1
-rw-r--r--source3/winbindd/winbindd_msrpc.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/source3/winbindd/winbindd.h b/source3/winbindd/winbindd.h
index 3f1c7f558e..33c7bbe5c6 100644
--- a/source3/winbindd/winbindd.h
+++ b/source3/winbindd/winbindd.h
@@ -28,7 +28,6 @@
#include "librpc/gen_ndr/wbint.h"
#include "talloc_dict.h"
-#include "smb_ldap.h"
#include "../lib/util/tevent_ntstatus.h"
diff --git a/source3/winbindd/winbindd_msrpc.c b/source3/winbindd/winbindd_msrpc.c
index 094b025053..27eac6b41d 100644
--- a/source3/winbindd/winbindd_msrpc.c
+++ b/source3/winbindd/winbindd_msrpc.c
@@ -769,7 +769,7 @@ static NTSTATUS msrpc_lookup_groupmem(struct winbindd_domain *domain,
#ifdef HAVE_LDAP
-#include <ldap.h>
+#include "smb_ldap.h"
static int get_ldap_seq(const char *server, struct sockaddr_storage *ss, int port, uint32 *seq)
{