From: Yang Tse Date: Tue, 9 Oct 2007 23:51:55 +0000 (+0000) Subject: lber.h needs to be included since ldap.h might not include it X-Git-Tag: curl-7_17_1~91 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=43e8f00861fa148d63ce349db8455a1739eeef14;p=thirdparty%2Fcurl.git lber.h needs to be included since ldap.h might not include it --- diff --git a/lib/ldap.c b/lib/ldap.c index 095fbeb0b8..365c112fee 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