There is a couple of strcasecmp() and strncasecmp in libldap/url.c that probaly need a #ifdef HAVE_STRNCMP all string.h dosen't have these ex win32