added #define LDAP_DEPRECATED in order to use old ldap_init() function

This commit is contained in:
Andreas Steffen
2007-05-24 12:09:48 +00:00
parent 3e4eac0b63
commit 8c06e9c0ed
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -25,6 +25,9 @@
#endif /* LIBCURL */
#ifdef LIBLDAP
#ifndef LDAP_DEPRECATED
#define LDAP_DEPRECATED 1
#endif
#include <ldap.h>
#endif /* LIBLDAP */
+3
View File
@@ -32,6 +32,9 @@
#include <freeswan.h>
#ifdef LIBLDAP
#ifndef LDAP_DEPRECATED
#define LDAP_DEPRECATED 1
#endif
#include <ldap.h>
#endif