lber.h needs to be included since ldap.h might not include it

This commit is contained in:
Yang Tse 2007-10-09 23:51:55 +00:00
parent 3337be81c8
commit 43e8f00861
1 changed files with 3 additions and 0 deletions

View File

@ -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>