diff --git a/lib/strequal.c b/lib/strequal.c index 04e0c9788..780a99801 100644 --- a/lib/strequal.c +++ b/lib/strequal.c @@ -26,6 +26,12 @@ #include #include +#ifdef HAVE_STRCASECMP +/* this is for "-ansi -Wall -pedantic" to stop complaining! */ +extern int (strcasecmp)(const char *s1, const char *s2); +extern int (strncasecmp)(const char *s1, const char *s2, size_t n); +#endif + int curl_strequal(const char *first, const char *second) { #if defined(HAVE_STRCASECMP)