diff --git a/lib/easy.c b/lib/easy.c index 91c1382f8..dc7139f23 100644 --- a/lib/easy.c +++ b/lib/easy.c @@ -271,6 +271,8 @@ static CURLcode global_init(long flags, bool memoryfuncs) return CURLE_FAILED_INIT; } + (void)Curl_ipv6works(); + #if defined(USE_LIBSSH2) && defined(HAVE_LIBSSH2_INIT) if(libssh2_init(0)) { DEBUGF(fprintf(stderr, "Error: libssh2_init failed\n"));