mirror of
https://github.com/curl/curl.git
synced 2026-07-24 13:17:15 +03:00
hide the pack_hostent proto if ipv6 is enabled, as figured out by Tor Arntsen
This commit is contained in:
parent
9254c3a103
commit
791e49134b
1 changed files with 2 additions and 0 deletions
|
|
@ -86,9 +86,11 @@ static Curl_addrinfo *my_getaddrinfo(struct connectdata *conn,
|
|||
char *hostname,
|
||||
int port,
|
||||
int *waitp);
|
||||
#ifndef ENABLE_IPV6
|
||||
#if !defined(HAVE_GETHOSTBYNAME_R) || defined(USE_ARES)
|
||||
static struct hostent* pack_hostent(char** buf, struct hostent* orig);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
void Curl_global_host_cache_init(void)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue