From: Dan Fandrich Date: Mon, 31 Oct 2016 14:17:35 +0000 (+0100) Subject: strcasecompare: include curl.h in strcase.c X-Git-Tag: curl-7_51_0~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47a21ca9ba80d055e3d4974ccf4dd5c85990d4b0;p=thirdparty%2Fcurl.git strcasecompare: include curl.h in strcase.c This should fix the "warning: 'curl_strequal' redeclared without dllimport attribute: previous dllimport ignored" message and subsequent link error on Windows because of the missing CURL_EXTERN on the prototype. --- diff --git a/lib/strcase.c b/lib/strcase.c index 5f2b700e0a..807689ef8b 100644 --- a/lib/strcase.c +++ b/lib/strcase.c @@ -21,6 +21,9 @@ ***************************************************************************/ #include "curl_setup.h" + +#include + #include "strcase.h" /* Portable, consistent toupper (remember EBCDIC). Do not use toupper() because