From 47a21ca9ba80d055e3d4974ccf4dd5c85990d4b0 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Mon, 31 Oct 2016 15:17:35 +0100 Subject: 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. --- lib/strcase.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/strcase.c b/lib/strcase.c index 5f2b700e0..807689ef8 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 -- cgit v1.2.3