summaryrefslogtreecommitdiff
path: root/ext/ldap/php_ldap.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/ldap/php_ldap.h')
-rw-r--r--ext/ldap/php_ldap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ldap/php_ldap.h b/ext/ldap/php_ldap.h
index a952a8f954..5651321d83 100644
--- a/ext/ldap/php_ldap.h
+++ b/ext/ldap/php_ldap.h
@@ -81,7 +81,7 @@ PHP_FUNCTION(ldap_error);
PHP_FUNCTION(ldap_compare);
-#if LDAP_API_VERSION > 2000
+#if ( LDAP_API_VERSION > 2000 ) || HAVE_NSLDAP
PHP_FUNCTION(ldap_get_option);
PHP_FUNCTION(ldap_set_option);
#endif