blob: 8a8e3ababe2eafdf6c3117249981ce947305ec25 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- lib/asyn-ares.c 2012-10-19 21:37:45.000000000 +0100
+++ lib/asyn-ares.c 2012-10-19 21:38:09.000000000 +0100
@@ -669,7 +669,7 @@
CURLcode Curl_set_dns_local_ip6(struct SessionHandle *data,
const char *local_ip6)
{
-#if (ARES_VERSION >= 0x010704)
+#if (ARES_VERSION >= 0x010704) && defined(ENABLE_IPV6)
unsigned char a6[INET6_ADDRSTRLEN];
if((!local_ip6) || (local_ip6[0] == 0)) {
|