From ef2e2e54020c3475bf2129c3ec8360c7bad3a6c9 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 1 Aug 2013 11:02:03 +0200 Subject: [PATCH] dirmngr: Define missing LDAP constant * dirmngr/ldap-url.c (LDAP_SCOPE_DEFAULT): Define if missing. --- dirmngr/ldap-url.c | 5 +++++ 1 file changed, 5 insertions(+) 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 $ */ /*