summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NWGNUmakefile8
-rw-r--r--build/NWGNUmakefile3
-rw-r--r--build/nw_export.inc2
3 files changed, 13 insertions, 0 deletions
diff --git a/NWGNUmakefile b/NWGNUmakefile
index 901df374f..1e679fb69 100644
--- a/NWGNUmakefile
+++ b/NWGNUmakefile
@@ -225,6 +225,14 @@ FILES_nlm_Ximports = \
WSAStartupRTags \
WSACleanupRTag \
$(EOLIST)
+
+#If the LDAP support is defined then add the imports
+ifneq "$(LDAPSDK)" ""
+FILES_nlm_Ximports += \
+ @$(LDAPSDK)/imports/lldapsdk.imp \
+ @$(LDAPSDK)/imports/lldapssl.imp \
+ $(EOLIST)
+endif
#
# Any symbols exported to here
diff --git a/build/NWGNUmakefile b/build/NWGNUmakefile
index b12384cd4..eb9d4c6ae 100644
--- a/build/NWGNUmakefile
+++ b/build/NWGNUmakefile
@@ -48,6 +48,9 @@ $(NLM_NAME)_cc.opt : NWGNUmakefile $(APR_WORK)\build\NWGNUenvironment.inc $(APR_
@echo -I..\include\arch\unix >> $@
@echo -I..\..\apr-util\include >> $@
@echo -ir $(NOVELLLIBC) >> $@
+ifneq "$(LDAPSDK)" ""
+ @echo -ir $(LDAPSDK) >> $@
+endif
$(APR)/include/%.h: $(subst /,\,$(APR))\include\%.hnw
@echo Creating $(subst /,\,$@)
diff --git a/build/nw_export.inc b/build/nw_export.inc
index 1aa7140cb..91c177a1e 100644
--- a/build/nw_export.inc
+++ b/build/nw_export.inc
@@ -63,6 +63,8 @@
#include "apr_date.h"
#include "apr_dbm.h"
#include "apr_hooks.h"
+#include "apr_ldap.h"
+#include "apr_ldap_url.h"
#include "apr_md4.h"
#include "apr_md5.h"
#include "apr_optional.h"