diff options
Diffstat (limited to 'include/resolv.h')
-rw-r--r-- | include/resolv.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/resolv.h b/include/resolv.h index 2a4037c..12b4f74 100644 --- a/include/resolv.h +++ b/include/resolv.h @@ -16,7 +16,10 @@ # include <tls.h> # if USE___THREAD # undef _res -extern __thread struct __res_state _res; +# ifndef NOT_IN_libc +# define _res __libc_res +# endif +extern __thread struct __res_state _res attribute_tls_model_ie; # endif # else # ifndef __BIND_NOSTATIC |