mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-15 03:01:09 +08:00
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:
parent
9f67a2e6c9
commit
bbd3d9e77c
@ -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>
|
||||
|
||||
|
@ -31,6 +31,7 @@
|
||||
|
||||
#include <ldap.h>
|
||||
|
||||
#undef ldap_debug
|
||||
#define ldap_debug slurp_debug
|
||||
#include "ldap_log.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user