From 43e8f00861fa148d63ce349db8455a1739eeef14 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Tue, 9 Oct 2007 23:51:55 +0000 Subject: [PATCH] lber.h needs to be included since ldap.h might not include it --- lib/ldap.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/ldap.c b/lib/ldap.c index 095fbeb0b..365c112fe 100644 --- a/lib/ldap.c +++ b/lib/ldap.c @@ -52,6 +52,9 @@ # endif #else #define LDAP_DEPRECATED 1 /* Be sure ldap_init() is defined. */ +#ifdef HAVE_LBER_H +# include +#endif # include #if (defined(HAVE_LDAP_SSL) && defined(HAVE_LDAP_SSL_H)) # include -- 2.40.0