aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/hostip.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hostip.h b/lib/hostip.h
index 3864dd90b..08545d94e 100644
--- a/lib/hostip.h
+++ b/lib/hostip.h
@@ -166,7 +166,7 @@ int Curl_resolv(struct connectdata *conn, const char *hostname,
int port, struct Curl_dns_entry **dnsentry);
int Curl_resolv_timeout(struct connectdata *conn, const char *hostname,
int port, struct Curl_dns_entry **dnsentry,
- long timeout);
+ volatile long timeout);
/*
* Curl_ipvalid() checks what CURL_IPRESOLVE_* requirements that might've