aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@yahoo.no>2016-05-20 16:50:04 +0200
committerDaniel Stenberg <daniel@haxx.se>2016-05-20 16:50:04 +0200
commit3123dad89c2739fccce9404eb83819740d4f2d2f (patch)
tree638a3d16b9258b6a965542f4b8aae8f9255e6690
parent994146eb1f0f591a988acc757b76a9929be0e506 (diff)
curl_multibyte: fix compiler error
While compiling lib/curl_multibyte.c with '-DUSE_WIN32_IDN' etc. I was getting: f:\mingw32\src\inet\curl\lib\memdebug.h(38): error C2054: expected '(' to follow 'CURL_EXTERN' f:\mingw32\src\inet\curl\lib\memdebug.h(38): error C2085: 'curl_domalloc': not in formal parameter list
-rw-r--r--lib/curl_multibyte.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/curl_multibyte.c b/lib/curl_multibyte.c
index e2078e05a..e78bb5002 100644
--- a/lib/curl_multibyte.c
+++ b/lib/curl_multibyte.c
@@ -22,6 +22,8 @@
#include "curl_setup.h"
+#include <curl/curl.h>
+
#if defined(USE_WIN32_IDN) || ((defined(USE_WINDOWS_SSPI) || \
defined(USE_WIN32_LDAP)) && defined(UNICODE))