summaryrefslogtreecommitdiffstats
path: root/dirmngr
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2013-08-01 11:02:03 +0200
committerWerner Koch <wk@gnupg.org>2013-08-01 11:02:03 +0200
commitef2e2e54020c3475bf2129c3ec8360c7bad3a6c9 (patch)
treef475cace5d49e2b2a0d75dbd43b21da13712c746 /dirmngr
parentscd: Fix a syntax error for Apple and Windows. (diff)
downloadgnupg2-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.c5
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 $ */
/*