summaryrefslogtreecommitdiff
path: root/include/resolv.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/resolv.h')
-rw-r--r--include/resolv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/resolv.h b/include/resolv.h
index 2d2258c7d..d77a42ecd 100644
--- a/include/resolv.h
+++ b/include/resolv.h
@@ -217,7 +217,7 @@ typedef struct __res_state *res_state;
/* 0x00008000 */
/* Things involving an internal (static) resolver context. */
-#if !defined _LIBC || defined _LIBC_REENTRANT
+#if !defined _LIBC || defined __UCLIBC_HAS_THREADS__
__BEGIN_DECLS
extern struct __res_state *__res_state(void) __attribute__ ((__const__));
__END_DECLS