From 2395c6c23cf352c9b8dbedb9cf474be7f8bc64fe Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 28 Oct 1999 07:13:33 +0000 Subject: [PATCH] Added line to #include "ldap_pvt.h". Part of Mingw32 support. See README 1.27 log. --- servers/slapd/add.c | 1 + servers/slapd/bind.c | 1 + servers/slapd/compare.c | 2 +- servers/slapd/delete.c | 1 + servers/slapd/modify.c | 1 + servers/slapd/modrdn.c | 1 + servers/slapd/search.c | 1 + 7 files changed, 7 insertions(+), 1 deletion(-) diff --git a/servers/slapd/add.c b/servers/slapd/add.c index 930608c763..1516066f58 100644 --- a/servers/slapd/add.c +++ b/servers/slapd/add.c @@ -23,6 +23,7 @@ #include #include +#include "ldap_pvt.h" #include "slap.h" static int add_created_attrs(Operation *op, Entry *e); diff --git a/servers/slapd/bind.c b/servers/slapd/bind.c index 9650d62b01..3be31a9ad3 100644 --- a/servers/slapd/bind.c +++ b/servers/slapd/bind.c @@ -24,6 +24,7 @@ #include #include +#include "ldap_pvt.h" #include "slap.h" int diff --git a/servers/slapd/compare.c b/servers/slapd/compare.c index d47d854cb0..86bdaff74d 100644 --- a/servers/slapd/compare.c +++ b/servers/slapd/compare.c @@ -21,6 +21,7 @@ #include +#include "ldap_pvt.h" #include "slap.h" int @@ -66,7 +67,6 @@ do_compare( ndn = ch_strdup( dn ); - if( dn_normalize( ndn ) == NULL ) { Debug( LDAP_DEBUG_ANY, "do_compare: invalid dn (%s)\n", dn, 0, 0 ); send_ldap_result( conn, op, rc = LDAP_INVALID_DN_SYNTAX, NULL, diff --git a/servers/slapd/delete.c b/servers/slapd/delete.c index 08c05ab811..a50b59212c 100644 --- a/servers/slapd/delete.c +++ b/servers/slapd/delete.c @@ -22,6 +22,7 @@ #include #include +#include "ldap_pvt.h" #include "slap.h" int diff --git a/servers/slapd/modify.c b/servers/slapd/modify.c index 0ab325d8ed..6ac98f292d 100644 --- a/servers/slapd/modify.c +++ b/servers/slapd/modify.c @@ -23,6 +23,7 @@ #include #include +#include "ldap_pvt.h" #include "slap.h" static void modlist_free(LDAPModList *ml); diff --git a/servers/slapd/modrdn.c b/servers/slapd/modrdn.c index a849af2cbe..2292789bea 100644 --- a/servers/slapd/modrdn.c +++ b/servers/slapd/modrdn.c @@ -35,6 +35,7 @@ #include #include +#include "ldap_pvt.h" #include "slap.h" int diff --git a/servers/slapd/search.c b/servers/slapd/search.c index 1e13332128..233da67a2d 100644 --- a/servers/slapd/search.c +++ b/servers/slapd/search.c @@ -18,6 +18,7 @@ #include #include +#include "ldap_pvt.h" #include "slap.h" -- 2.39.5