summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2022-01-21 18:26:15 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2022-01-21 18:26:15 +0100
commit5b89fd74e7e9075049f3268424ab1ee14f811b0d (patch)
treeabb790427ce0b58f27c20bfd7fbe5695d57f3a22 /libc
parenta8cfe4f4e4f0a2d621c2ee2696e18d2b4121db9f (diff)
fix compile for Linuxthreads enabled
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Diffstat (limited to 'libc')
-rw-r--r--libc/inet/resolv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/inet/resolv.c b/libc/inet/resolv.c
index cf170fba6..92a65d0dc 100644
--- a/libc/inet/resolv.c
+++ b/libc/inet/resolv.c
@@ -3897,6 +3897,7 @@ res_ninit(res_state statp)
#ifdef L_res_state
# if !defined __UCLIBC_HAS_TLS__
+extern struct __res_state *__resp;
struct __res_state *
__res_state (void)
{