ldap_op.c: Get LDAP->ld_lberoptions from libldap/ldap-int.h.

slurp.h:   #undef ldap_debug before a #define which conflicts with ldap-int.h.
This commit is contained in:
Hallvard Furuseth 1999-08-08 15:18:38 +00:00
parent 9f67a2e6c9
commit bbd3d9e77c
2 changed files with 6 additions and 0 deletions

View File

@ -28,6 +28,11 @@
#include <ac/krb.h>
#if defined( STR_TRANSLATION ) && defined( LDAP_DEFAULT_CHARSET )
/* Get LDAP->ld_lberoptions. Must precede slurp.h, both define ldap_debug. */
#include "../../libraries/libldap/ldap-int.h"
#endif
#include <lber.h>
#include <ldap.h>

View File

@ -31,6 +31,7 @@
#include <ldap.h>
#undef ldap_debug
#define ldap_debug slurp_debug
#include "ldap_log.h"