From e68c51ac46a9f273927aef8dcebc89912ab19ece Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sat, 12 May 2012 23:45:07 -0400 Subject: use __h_errno_location for h_errno we do not bother making h_errno thread-local since the only interfaces that use it are inherently non-thread-safe. but still use the potentially-thread-local ABI to access it just to avoid lock-in. --- src/network/res_query.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/network/res_query.c') diff --git a/src/network/res_query.c b/src/network/res_query.c index 42009992..c3ad1090 100644 --- a/src/network/res_query.c +++ b/src/network/res_query.c @@ -1,3 +1,4 @@ +#define _GNU_SOURCE #include #include "__dns.h" #include "libc.h" -- cgit v1.2.1