aboutsummaryrefslogtreecommitdiff
path: root/lib/curl_ldap.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/curl_ldap.h')
-rw-r--r--lib/curl_ldap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/curl_ldap.h b/lib/curl_ldap.h
index 1f28afee0..a2b167fa0 100644
--- a/lib/curl_ldap.h
+++ b/lib/curl_ldap.h
@@ -22,10 +22,10 @@
* KIND, either express or implied.
*
***************************************************************************/
-#ifndef CURL_DISABLE_LDAP
+#if !defined(CURL_DISABLE_LDAP) || defined(USE_OPENLDAP)
extern const struct Curl_handler Curl_handler_ldap;
-#ifdef HAVE_LDAP_SSL
+#if defined(HAVE_LDAP_SSL) || defined(USE_OPENLDAP)
extern const struct Curl_handler Curl_handler_ldaps;
#endif