aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/getinfo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/getinfo.c b/lib/getinfo.c
index 5cf3bcacd..56b5d6f9f 100644
--- a/lib/getinfo.c
+++ b/lib/getinfo.c
@@ -75,7 +75,9 @@ CURLcode Curl_getinfo(struct SessionHandle *data, CURLINFO info, ...)
double *param_doublep=NULL;
char **param_charp=NULL;
struct curl_slist **param_slistp=NULL;
+#ifdef MSG_PEEK
char buf;
+#endif
if(!data)
return CURLE_BAD_FUNCTION_ARGUMENT;