From: Andreas Steffen Date: Thu, 24 May 2007 12:09:48 +0000 (-0000) Subject: added #define LDAP_DEPRECATED in order to use old ldap_init() function X-Git-Tag: 4.1.3~22 X-Git-Url: https://git.strongswan.org/?p=strongswan.git;a=commitdiff_plain;h=8c06e9c0edc545e3854680e2eac9eeef926d0901 added #define LDAP_DEPRECATED in order to use old ldap_init() function --- diff --git a/src/libstrongswan/utils/fetcher.c b/src/libstrongswan/utils/fetcher.c index 6165cc1..7a06999 100644 --- a/src/libstrongswan/utils/fetcher.c +++ b/src/libstrongswan/utils/fetcher.c @@ -25,6 +25,9 @@ #endif /* LIBCURL */ #ifdef LIBLDAP +#ifndef LDAP_DEPRECATED +#define LDAP_DEPRECATED 1 +#endif #include #endif /* LIBLDAP */ diff --git a/src/pluto/fetch.c b/src/pluto/fetch.c index e3e56d3..8f48152 100644 --- a/src/pluto/fetch.c +++ b/src/pluto/fetch.c @@ -32,6 +32,9 @@ #include #ifdef LIBLDAP +#ifndef LDAP_DEPRECATED +#define LDAP_DEPRECATED 1 +#endif #include #endif