From 2fe3c221085e850f4c162965a8309a091dfc45cc Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 31 Aug 2005 06:04:48 +0000 Subject: [PATCH] use it as 'struct addrinfo' so perhaps it builds on mingw again --- lib/hostthre.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/hostthre.c b/lib/hostthre.c index 7687038f2..13761c587 100644 --- a/lib/hostthre.c +++ b/lib/hostthre.c @@ -350,7 +350,7 @@ static unsigned __stdcall getaddrinfo_thread (void *arg) struct addrinfo *res; char service [NI_MAXSERV]; int rc; - addrinfo hints = td->hints; + struct addrinfo hints = td->hints; /* Duplicate the passed mutex handle. * This allows us to use it even after the container gets destroyed