mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05: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
2 changed files with 6 additions and 0 deletions
|
|
@ -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 a new issue