summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2016-10-31 15:17:35 +0100
committerDan Fandrich <dan@coneharvesters.com>2016-10-31 15:21:13 +0100
commit47a21ca9ba80d055e3d4974ccf4dd5c85990d4b0 (patch)
treecb6d55d0b10a4a79e67dcb31cd8cc05ae86ff406
parent64c2d24c423c1bd079fbab0a6089b6c85ca2bb64 (diff)
downloadgnurl-47a21ca9ba80d055e3d4974ccf4dd5c85990d4b0.tar.gz
gnurl-47a21ca9ba80d055e3d4974ccf4dd5c85990d4b0.tar.bz2
gnurl-47a21ca9ba80d055e3d4974ccf4dd5c85990d4b0.zip
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.
-rw-r--r--lib/strcase.c3
1 files changed, 3 insertions, 0 deletions
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 <curl/curl.h>
+
#include "strcase.h"
/* Portable, consistent toupper (remember EBCDIC). Do not use toupper() because