1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

* gpgkeys_ldap.c: #define LDAP_DEPRECATED for newer OpenLDAPs so they use

the regular old API that is compatible with other LDAP libraries.
This commit is contained in:
David Shaw 2006-03-27 19:06:46 +00:00
parent 025aabfd8e
commit 0ea95fd80f
2 changed files with 8 additions and 0 deletions

View file

@ -37,6 +37,8 @@
#ifdef NEED_LBER_H
#include <lber.h>
#endif
/* For OpenLDAP, to enable the API that we're using. */
#define LDAP_DEPRECATED 1
#include <ldap.h>
#endif