diff --git a/servers/slapd/back-ldap/search.c b/servers/slapd/back-ldap/search.c index 30b949f9f3..b23e6adf32 100644 --- a/servers/slapd/back-ldap/search.c +++ b/servers/slapd/back-ldap/search.c @@ -45,6 +45,7 @@ #include "slap.h" #include "back-ldap.h" +#undef ldap_debug /* silence a warning in ldap-int.h */ #include "../../../libraries/libldap/ldap-int.h" static void ldap_send_entry( Backend *be, Operation *op, struct ldapconn *lc,