summaryrefslogtreecommitdiff
path: root/libs/libcurl/src/if2ip.c
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libcurl/src/if2ip.c')
-rw-r--r--libs/libcurl/src/if2ip.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/libcurl/src/if2ip.c b/libs/libcurl/src/if2ip.c
index 4d66f33c27..3e9b87cb55 100644
--- a/libs/libcurl/src/if2ip.c
+++ b/libs/libcurl/src/if2ip.c
@@ -92,6 +92,8 @@ unsigned int Curl_ipv6_scope(const struct sockaddr *sa)
}
#endif
+#ifndef CURL_DISABLE_BINDLOCAL
+
#if defined(HAVE_GETIFADDRS)
if2ip_result_t Curl_if2ip(int af,
@@ -254,3 +256,5 @@ if2ip_result_t Curl_if2ip(int af,
}
#endif
+
+#endif /* CURL_DISABLE_BINDLOCAL */