required importing sasl.h into ldap_pvt.h, thus that import
was removed from ldap-int.h.
#ifdef HAVE_CYRUS_SASL
/* sasl.c */
+
+#include <sasl.h>
+
LIBLDAP_F (int) ldap_pvt_sasl_init LDAP_P(( void )); /* clientside init */
LIBLDAP_F (int) ldap_pvt_sasl_install LDAP_P(( Sockbuf *, void * ));
LIBLDAP_F (int) ldap_pvt_sasl_err2ldap LDAP_P(( int ));
+LIBLDAP_F (int) ldap_pvt_sasl_bind LDAP_P(( LDAP *, LDAP_CONST char *, LDAP_CONST char *, const sasl_callback_t *, LDAPControl **, LDAPControl ** ));
#endif /* HAVE_CYRUS_SASL */
/* search.c */
#include "ldap_pvt.h"
-#ifdef HAVE_CYRUS_SASL
-#include <sasl.h>
-#endif /* HAVE_CYRUS_SASL */
-
LDAP_BEGIN_DECL
#define LDAP_URL_PREFIX "ldap://"