]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/os-ip.c
Move ldap_utf8_*() declarations from ldap-int.h to ldap_pvt.h.
[openldap] / libraries / libldap / os-ip.c
index 4a908d05755ed4ff62adb235a31024223975f455..890bd94625d85b077a199b524a55e6de3556b318 100644 (file)
@@ -333,7 +333,7 @@ ldap_close_connection( Sockbuf *sb )
 }
 
 
-#if defined( HAVE_KERBEROS ) || defined( HAVE_TLS )
+#if defined( LDAP_API_FEATURE_X_OPENLDAP_V2_KBIND ) || defined( HAVE_TLS ) || defined( HAVE_CYRUS_SASL )
 char *
 ldap_host_connected_to( Sockbuf *sb )
 {
@@ -374,7 +374,7 @@ ldap_host_connected_to( Sockbuf *sb )
 }
 #undef DO_RETURN   
    
-#endif /* HAVE_KERBEROS || HAVE_TLS */
+#endif /* LDAP_API_FEATURE_X_OPENLDAP_V2_KBIND || HAVE_TLS */
 
 
 /* for UNIX */