From 604802ad47f4d0b2a015a62b08f0d1427be7fd87 Mon Sep 17 00:00:00 2001 From: isaacs Date: Thu, 24 May 2012 19:31:29 +0000 Subject: [PATCH] Fix sunos build: undeclared variable 'handle' --- src/unix/core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/unix/core.c b/src/unix/core.c index 923629a2..657397be 100644 --- a/src/unix/core.c +++ b/src/unix/core.c @@ -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