aboutsummaryrefslogtreecommitdiff
path: root/lib/url.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2011-09-03 16:06:10 +0200
committerYang Tse <yangsita@gmail.com>2011-09-03 16:07:09 +0200
commit6b75d2c2df7209919a70a29a4479625b62fb3c28 (patch)
treea5b2bd4195db4cb69f3299814e910bd04ebb6eac /lib/url.h
parent2be65bb0c5317b6821882b41558bd8cd2eb64d25 (diff)
fix a bunch of MSVC compiler warnings
Diffstat (limited to 'lib/url.h')
-rw-r--r--lib/url.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/url.h b/lib/url.h
index 62e3ef3ef..8947627d5 100644
--- a/lib/url.h
+++ b/lib/url.h
@@ -21,6 +21,7 @@
* KIND, either express or implied.
*
***************************************************************************/
+#include "setup.h"
/*
* Prototypes for library-wide functions provided by url.c
@@ -85,7 +86,7 @@ void Curl_reset_reqproto(struct connectdata *conn);
CURLcode Curl_connected_proxy(struct connectdata *conn);
#ifdef CURL_DISABLE_VERBOSE_STRINGS
-#define Curl_verboseconnect(x) do { } while (0)
+#define Curl_verboseconnect(x) Curl_nop_stmt
#else
void Curl_verboseconnect(struct connectdata *conn);
#endif