summaryrefslogtreecommitdiff
path: root/libs/libcurl/src/if2ip.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libcurl/src/if2ip.h')
-rw-r--r--libs/libcurl/src/if2ip.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/libcurl/src/if2ip.h b/libs/libcurl/src/if2ip.h
index f82269532a..fc57aa087b 100644
--- a/libs/libcurl/src/if2ip.h
+++ b/libs/libcurl/src/if2ip.h
@@ -32,7 +32,7 @@
#define IPV6_SCOPE_UNIQUELOCAL 3 /* Unique local */
#define IPV6_SCOPE_NODELOCAL 4 /* Loopback. */
-#ifdef ENABLE_IPV6
+#ifdef USE_IPV6
unsigned int Curl_ipv6_scope(const struct sockaddr *sa);
#else
#define Curl_ipv6_scope(x) 0
@@ -45,12 +45,12 @@ typedef enum {
} if2ip_result_t;
if2ip_result_t Curl_if2ip(int af,
-#ifdef ENABLE_IPV6
+#ifdef USE_IPV6
unsigned int remote_scope,
unsigned int local_scope_id,
#endif
const char *interf,
- char *buf, int buf_size);
+ char *buf, size_t buf_size);
#ifdef __INTERIX