aboutsummaryrefslogtreecommitdiff
path: root/lib
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 /lib
parent64c2d24c423c1bd079fbab0a6089b6c85ca2bb64 (diff)
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.
Diffstat (limited to 'lib')
-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