From eb7d589d072d63b72cd48052ed6c5b010cca9769 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Thu, 27 Oct 2011 12:38:43 +0200 Subject: pthreads: fix build when DNS resolver is not enabled. Resolver state is only available if DNS resolver is enabled. Signed-off-by: Bernhard Reutner-Fischer Signed-off-by: Carmelo Amoroso --- libpthread/nptl/pthread_create.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpthread/nptl/pthread_create.c') diff --git a/libpthread/nptl/pthread_create.c b/libpthread/nptl/pthread_create.c index 86ff1488b..1b2c6825f 100644 --- a/libpthread/nptl/pthread_create.c +++ b/libpthread/nptl/pthread_create.c @@ -233,7 +233,7 @@ start_thread (void *arg) HP_TIMING_NOW (now); THREAD_SETMEM (pd, cpuclock_offset, now); #endif -#if defined __UCLIBC_HAS_IPV4__ || defined __UCLIBC_HAS_IPV6__ +#if defined __UCLIBC_HAS_RESOLVER_SUPPORT__ /* Initialize resolver state pointer. */ __resp = &pd->res; #endif -- cgit v1.2.3