Fix sunos build: undeclared variable 'handle'

This commit is contained in:
isaacs 2012-05-24 19:31:29 +00:00 committed by Bert Belder
parent 793a52f5df
commit 604802ad47

View File

@ -317,6 +317,7 @@ static int uv_getaddrinfo_done(eio_req* req_) {
uv_getaddrinfo_t* req = req_->data;
struct addrinfo *res = req->res;
#if __sun
uv_getaddrinfo_t* handle = req->data;
size_t hostlen = strlen(handle->hostname);
#endif