diff options
author | Werner Koch <wk@gnupg.org> | 2013-08-01 11:02:03 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2013-08-01 11:02:03 +0200 |
commit | ef2e2e54020c3475bf2129c3ec8360c7bad3a6c9 (patch) | |
tree | f475cace5d49e2b2a0d75dbd43b21da13712c746 /dirmngr | |
parent | scd: Fix a syntax error for Apple and Windows. (diff) | |
download | gnupg2-ef2e2e54020c3475bf2129c3ec8360c7bad3a6c9.tar.xz gnupg2-ef2e2e54020c3475bf2129c3ec8360c7bad3a6c9.zip |
dirmngr: Define missing LDAP constant
* dirmngr/ldap-url.c (LDAP_SCOPE_DEFAULT): Define if missing.
Diffstat (limited to 'dirmngr')
-rw-r--r-- | dirmngr/ldap-url.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dirmngr/ldap-url.c b/dirmngr/ldap-url.c index 2dc186b5b..e5a7d942e 100644 --- a/dirmngr/ldap-url.c +++ b/dirmngr/ldap-url.c @@ -96,6 +96,11 @@ software is provided `'as is'' without express or implied warranty. */ void ldap_pvt_hex_unescape( char *s ); +#ifndef LDAP_SCOPE_DEFAULT +# define LDAP_SCOPE_DEFAULT -1 +#endif + + /* $OpenLDAP: pkg/ldap/libraries/libldap/charray.c,v 1.9.2.2 2003/03/03 17:10:04 kurt Exp $ */ /* |