Created
May 24, 2012 19:33
-
-
Save isaacs/2783736 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From a87448739643a4ff89471ed49dfcb8348d1fc4c8 Mon Sep 17 00:00:00 2001 | |
From: isaacs <i@izs.me> | |
Date: Thu, 24 May 2012 19:31:29 +0000 | |
Subject: [PATCH] Fix sunos build: undeclared variable 'handle' | |
--- | |
src/unix/core.c | 1 + | |
1 files changed, 1 insertions(+), 0 deletions(-) | |
diff --git a/src/unix/core.c b/src/unix/core.c | |
index 923629a..657397b 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 | |
-- | |
1.7.6.3 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment