diff --git a/lib/ldap.c b/lib/ldap.c index 095fbeb0b8e286d4ccbdee73294844f2265f2de3..365c112fee984f908187968737f8bfd1ac02f98d 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