wrowe 2002/12/10 23:30:44
Modified: ldap apr_ldap_url.c
include apr_ldap_url.h
Log:
With luck, this finally closes Blair's build issues.
Revision Changes Path
1.3 +4 -0 apr-util/ldap/apr_ldap_url.c
Index: apr_ldap_url.c
===================================================================
RCS file: /home/cvs/apr-util/ldap/apr_ldap_url.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- apr_ldap_url.c 11 Dec 2002 05:31:12 -0000 1.2
+++ apr_ldap_url.c 11 Dec 2002 07:30:44 -0000 1.3
@@ -110,6 +110,8 @@
#include "apr_ldap.h"
+#if APR_HAS_LDAP
+
#if !APR_HAS_LDAP_URL_PARSE
#include "apr_general.h"
@@ -755,3 +757,5 @@
}
#endif /* !APR_HAS_LDAP_URL_PARSE */
+
+#endif /* APR_HAS_LDAP */
1.3 +3 -0 apr-util/include/apr_ldap_url.h
Index: apr_ldap_url.h
===================================================================
RCS file: /home/cvs/apr-util/include/apr_ldap_url.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- apr_ldap_url.h 11 Dec 2002 05:31:12 -0000 1.2
+++ apr_ldap_url.h 11 Dec 2002 07:30:44 -0000 1.3
@@ -57,6 +57,7 @@
#include "apr_ldap.h"
+#if APR_HAS_LDAP
#if APR_HAS_LDAP_URL_PARSE
#define apr_ldap_url_desc_t LDAPURLDesc
@@ -115,5 +116,7 @@
APU_DECLARE(void) apr_ldap_free_urldesc(apr_ldap_url_desc_t *ludp);
#endif /* ! APR_HAS_LDAP_URL_PARSE */
+
+#endif /* APR_HAS_LDAP */
#endif /* APR_LDAP_URL_H */