diff --git a/libraries/libldap/libldap.dsp b/libraries/libldap/libldap.dsp index 803fd3396b..e5f9125fff 100644 --- a/libraries/libldap/libldap.dsp +++ b/libraries/libldap/libldap.dsp @@ -359,6 +359,10 @@ SOURCE=.\url.c # End Source File # Begin Source File +SOURCE=".\utf-8.c" +# End Source File +# Begin Source File + SOURCE=".\util-int.c" # End Source File # End Target diff --git a/libraries/libldap/utf-8.c b/libraries/libldap/utf-8.c index 8538b7304a..9ea17c11e8 100644 --- a/libraries/libldap/utf-8.c +++ b/libraries/libldap/utf-8.c @@ -418,8 +418,6 @@ ber_len_t (ldap_utf8_strspn)( const char *str, const char *set ) /* like strpbrk(), replaces strchr() as well */ char *(ldap_utf8_strpbrk)( const char *str, const char *set ) { - int len; - for( ; *str != '\0'; LDAP_UTF8_INCR(str) ) { const char *cset; diff --git a/libraries/libldap_r/libldap_r.dsp b/libraries/libldap_r/libldap_r.dsp index 0f00179f0f..bc6f09c27e 100644 --- a/libraries/libldap_r/libldap_r.dsp +++ b/libraries/libldap_r/libldap_r.dsp @@ -352,6 +352,10 @@ SOURCE=..\libldap\url.c # End Source File # Begin Source File +SOURCE="..\libldap\utf-8.c" +# End Source File +# Begin Source File + SOURCE="..\libldap\util-int.c" # End Source File # End Target