diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ldap.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 <lber.h> +#endif # include <ldap.h> #if (defined(HAVE_LDAP_SSL) && defined(HAVE_LDAP_SSL_H)) # include <ldap_ssl.h> |