diff options
| author | Austin Foxley <austinf@cetoncorp.com> | 2009-09-20 12:36:11 -0700 |
|---|---|---|
| committer | Austin Foxley <austinf@cetoncorp.com> | 2009-09-20 12:36:11 -0700 |
| commit | e1f124c7d190f952ca30319d9513087dac90185e (patch) | |
| tree | 11bda3969b42fcdbb00d6e9aaed0ca6f3a65d25c /include/resolv.h | |
| parent | a6f42ef7885b0b3676f99ee503f512ab588295ab (diff) | |
| download | uClibc-alpine-e1f124c7d190f952ca30319d9513087dac90185e.tar.bz2 uClibc-alpine-e1f124c7d190f952ca30319d9513087dac90185e.tar.xz | |
add a __resp ptr for the no threads case
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'include/resolv.h')
| -rw-r--r-- | include/resolv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/resolv.h b/include/resolv.h index 3b18be6b9..e0cd35db1 100644 --- a/include/resolv.h +++ b/include/resolv.h @@ -436,6 +436,7 @@ extern __thread struct __res_state *__resp attribute_tls_model_ie; # else # undef _res # define _res (*__resp) +extern struct __res_state *__resp; # endif /* __UCLIBC_HAS_TLS__ */ # endif /* __UCLIBC_HAS_THREADS__ */ # endif /* _LIBC */ |
