projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9254c3a
)
hide the pack_hostent proto if ipv6 is enabled, as figured out by Tor Arntsen
author
Daniel Stenberg
<daniel@haxx.se>
Thu, 5 Feb 2004 08:34:31 +0000
(08:34 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Thu, 5 Feb 2004 08:34:31 +0000
(08:34 +0000)
lib/hostip.c
patch
|
blob
|
history
diff --git
a/lib/hostip.c
b/lib/hostip.c
index
6c89bd4
..
ed717f7
100644
(file)
--- a/
lib/hostip.c
+++ b/
lib/hostip.c
@@
-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)
{