diff --git a/WINGs/string.c b/WINGs/string.c index 8cb0b031..d4c426d4 100644 --- a/WINGs/string.c +++ b/WINGs/string.c @@ -210,14 +210,3 @@ char *wstrappend(char *dst, char *src) return dst; } -#ifndef HAVE_STRCASECMP -int strcasecmp(const char *s1, const char *s2) -{ - while (*s1 && *s2 && (tolower(*s1) == tolower(*s2))) { - s1++; - s2++; - } - - return (tolower(*s1) - tolower(*s2)); -} -#endif diff --git a/configure.ac b/configure.ac index 4606bc70..deaac5c8 100644 --- a/configure.ac +++ b/configure.ac @@ -145,7 +145,7 @@ dnl ============================ dnl Checks for library functions dnl ============================ dnl not used anywhere -dnl AC_FUNC_MEMCMP +AC_FUNC_MEMCMP AC_FUNC_VPRINTF AC_CHECK_FUNCS(gethostname select poll strerror strcasecmp strncasecmp \ setsid atexit mallinfo mkstemp)