1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 16:18:48 -05:00

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.
This commit is contained in:
Dan Fandrich 2016-10-31 15:17:35 +01:00
parent 64c2d24c42
commit 47a21ca9ba

View File

@ -21,6 +21,9 @@
***************************************************************************/ ***************************************************************************/
#include "curl_setup.h" #include "curl_setup.h"
#include <curl/curl.h>
#include "strcase.h" #include "strcase.h"
/* Portable, consistent toupper (remember EBCDIC). Do not use toupper() because /* Portable, consistent toupper (remember EBCDIC). Do not use toupper() because