ITS#8794 - Fix implicit declaration for ldap_is_ldapc_url

Fix building OpenLDAP with -DLDAP_CONNECTIONLESS so that ldap_is_ldapc_url function is defined
This commit is contained in:
Jame Gerwe 2017-12-29 08:31:51 +00:00 committed by Quanah Gibson-Mount
parent 85ccf7bbac
commit 6c177e6629
2 changed files with 7 additions and 0 deletions

View File

@ -2077,6 +2077,12 @@ LDAP_F( int )
ldap_is_ldapi_url LDAP_P((
LDAP_CONST char *url ));
#ifdef LDAP_CONNECTIONLESS
LDAP_F( int )
ldap_is_ldapc_url LDAP_P((
LDAP_CONST char *url ));
#endif
LDAP_F( int )
ldap_url_parse LDAP_P((
LDAP_CONST char *url,

View File

@ -33,6 +33,7 @@
#include <ac/unistd.h>
#include "ldap-int.h"
#include "ldap.h"
#include "ldap_log.h"
/* Caller must hold the conn_mutex since simultaneous accesses are possible */