diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-02-20 13:46:53 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-02-20 13:46:53 +0000 |
commit | 721b05e3436884fc1e1b55f211e7fa4251d92a2a (patch) | |
tree | e803d7e8b88499be988b4d557ee57fc5c02e2512 /lib/hostip.c | |
parent | a333bddeeb6ce46f0a7d218d78fa700c881f2833 (diff) |
Nico Baggus' VMS tweaks
Diffstat (limited to 'lib/hostip.c')
-rw-r--r-- | lib/hostip.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/hostip.c b/lib/hostip.c index 711d1550e..2e973f887 100644 --- a/lib/hostip.c +++ b/lib/hostip.c @@ -50,6 +50,7 @@ #include <stdlib.h> /* required for free() prototypes */ #endif #ifdef VMS +#include <in.h> #include <inet.h> #include <stdlib.h> #endif @@ -510,7 +511,7 @@ Curl_addrinfo *Curl_getaddrinfo(struct SessionHandle *data, /* we make a copy of the hostent right now, right here, as the static one we got a pointer to might get removed when we don't want/expect that */ - h = pack_hostent(buf, h); + h = pack_hostent((char *)buf, h); #endif } return (h); |