added #define LDAP_DEPRECATED in order to use old ldap_init() function
This commit is contained in:
@@ -25,6 +25,9 @@
|
|||||||
#endif /* LIBCURL */
|
#endif /* LIBCURL */
|
||||||
|
|
||||||
#ifdef LIBLDAP
|
#ifdef LIBLDAP
|
||||||
|
#ifndef LDAP_DEPRECATED
|
||||||
|
#define LDAP_DEPRECATED 1
|
||||||
|
#endif
|
||||||
#include <ldap.h>
|
#include <ldap.h>
|
||||||
#endif /* LIBLDAP */
|
#endif /* LIBLDAP */
|
||||||
|
|
||||||
|
|||||||
@@ -32,6 +32,9 @@
|
|||||||
#include <freeswan.h>
|
#include <freeswan.h>
|
||||||
|
|
||||||
#ifdef LIBLDAP
|
#ifdef LIBLDAP
|
||||||
|
#ifndef LDAP_DEPRECATED
|
||||||
|
#define LDAP_DEPRECATED 1
|
||||||
|
#endif
|
||||||
#include <ldap.h>
|
#include <ldap.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user