summaryrefslogtreecommitdiff
path: root/source4/ldap_server
diff options
context:
space:
mode:
Diffstat (limited to 'source4/ldap_server')
-rw-r--r--source4/ldap_server/config.mk1
-rw-r--r--source4/ldap_server/ldap_server.c2
-rw-r--r--source4/ldap_server/ldap_server.h2
3 files changed, 5 insertions, 0 deletions
diff --git a/source4/ldap_server/config.mk b/source4/ldap_server/config.mk
index 826597cdcb..3b7cf04d68 100644
--- a/source4/ldap_server/config.mk
+++ b/source4/ldap_server/config.mk
@@ -3,6 +3,7 @@
#######################
# Start SUBSYSTEM LDAP
[SUBSYSTEM::LDAP]
+PRIVATE_PROTO_HEADER = proto.h
OBJ_FILES = \
ldap_server.o \
ldap_backend.o \
diff --git a/source4/ldap_server/ldap_server.c b/source4/ldap_server/ldap_server.c
index a6786e2990..b1ef4ff006 100644
--- a/source4/ldap_server/ldap_server.c
+++ b/source4/ldap_server/ldap_server.c
@@ -36,6 +36,8 @@
#include "lib/stream/packet.h"
#include "lib/ldb/include/ldb.h"
#include "lib/ldb/include/ldb_errors.h"
+#include "system/network.h"
+#include "netif/netif.h"
/*
close the socket and shutdown a server_context
diff --git a/source4/ldap_server/ldap_server.h b/source4/ldap_server/ldap_server.h
index f71c703088..10c93f6610 100644
--- a/source4/ldap_server/ldap_server.h
+++ b/source4/ldap_server/ldap_server.h
@@ -60,3 +60,5 @@ struct ldapsrv_service;
struct ldapsrv_service {
struct tls_params *tls_params;
};
+
+#include "ldap_server/proto.h"