From 5b89fd74e7e9075049f3268424ab1ee14f811b0d Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 21 Jan 2022 18:26:15 +0100 Subject: fix compile for Linuxthreads enabled Signed-off-by: Peter Seiderer --- libc/inet/resolv.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libc') 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) { -- cgit v1.2.3