summaryrefslogtreecommitdiff
path: root/libpthread/nptl/pthread_create.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2010-06-08 23:05:48 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2010-06-08 23:05:48 +0200
commit85998f8b7b0b50729c3b0bc491aa995f799e5637 (patch)
tree9c02877b15d97c3c307caa592b19581a334a5c80 /libpthread/nptl/pthread_create.c
parent94a99ff6131111381e7f803e10638ab547c40c2f (diff)
nptl: fix for !ipv4 && !ipv6
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libpthread/nptl/pthread_create.c')
-rw-r--r--libpthread/nptl/pthread_create.c4
1 files changed, 2 insertions, 2 deletions
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)