From 85998f8b7b0b50729c3b0bc491aa995f799e5637 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Tue, 8 Jun 2010 23:05:48 +0200 Subject: nptl: fix for !ipv4 && !ipv6 Signed-off-by: Bernhard Reutner-Fischer --- libpthread/nptl/pthread_create.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libpthread/nptl/pthread_create.c') diff --git a/libpthread/nptl/pthread_create.c b/libpthread/nptl/pthread_create.c index 8b53cb199..63e5588d5 100644 --- a/libpthread/nptl/pthread_create.c +++ b/libpthread/nptl/pthread_create.c @@ -233,10 +233,10 @@ start_thread (void *arg) HP_TIMING_NOW (now); THREAD_SETMEM (pd, cpuclock_offset, now); #endif - +#if defined __UCLIBC_HAS_IPV4__ || defined __UCLIBC_HAS_IPV6__ /* Initialize resolver state pointer. */ __resp = &pd->res; - +#endif #ifdef __NR_set_robust_list # ifndef __ASSUME_SET_ROBUST_LIST if (__set_robust_list_avail >= 0) -- cgit v1.2.3