From 75325beefeebba7f349f0c98592d441ff7593a90 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 16 Mar 2004 01:50:10 +0000 Subject: [PATCH] Hide ppolicy behind #ifdef LDAP_CONTROL_PASSWORDPOLICYREQUEST --- include/ldap.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 */ -- 2.39.5