From: Howard Chu Date: Tue, 16 Mar 2004 01:50:10 +0000 (+0000) Subject: Hide ppolicy behind #ifdef LDAP_CONTROL_PASSWORDPOLICYREQUEST X-Git-Tag: OPENLDAP_REL_ENG_2_2_BP~283 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=75325beefeebba7f349f0c98592d441ff7593a90;p=openldap Hide ppolicy behind #ifdef LDAP_CONTROL_PASSWORDPOLICYREQUEST --- diff --git a/include/ldap.h b/include/ldap.h index ed23734670..f5f2a334e6 100644 --- a/include/ldap.h +++ b/include/ldap.h @@ -1937,9 +1937,10 @@ ldap_passwd_s LDAP_P(( LDAPControl **sctrls, LDAPControl **cctrls )); +#ifdef LDAP_CONTROL_PASSWORDPOLICYREQUEST /* * LDAP Password Policy controls - * in ppcontrol.c + * in ppolicy.c */ #define LDAP_API_FEATURE_PASSWORD_POLICY 1000 @@ -1972,5 +1973,7 @@ ldap_parse_passwordpolicy_control LDAP_P(( LDAP_F( const char * ) ldap_passwordpolicy_err2txt LDAP_P(( LDAPPasswordPolicyError )); +#endif /* LDAP_CONTROL_PASSWORDPOLICYREQUEST */ + LDAP_END_DECL #endif /* _LDAP_H */