changeset 4394:3fa2941a5323

[gaim-migrate @ 4660] help solaris users compile committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Wed, 22 Jan 2003 17:36:17 +0000
parents bca8256a91a6
children eed028527289
files src/proxy.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/proxy.c	Wed Jan 22 17:21:30 2003 +0000
+++ b/src/proxy.c	Wed Jan 22 17:36:17 2003 +0000
@@ -397,10 +397,11 @@
 		req->dns_pid=fork();
 		if(req->dns_pid==0) {
 			const int zero = 0;
+			int rc;
+
 #ifdef HAVE_GETADDRINFO
 			struct addrinfo hints, *res;
 			char servname[20];
-			int rc;
 #else
 			struct sockaddr_in sin;
 			const socklen_t addrlen = sizeof(sin);