diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/netdb.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/netdb.h b/include/netdb.h index 10669b9a5..0bf79c0e3 100644 --- a/include/netdb.h +++ b/include/netdb.h @@ -59,6 +59,11 @@ __BEGIN_DECLS /* Function to get address of global `h_errno' variable. */ extern int *__h_errno_location (void) __THROW __attribute__ ((__const__)); +#ifdef _LIBC +# ifndef __UCLIBC_HAS_THREADS__ +extern int weak_const_function *__h_errno_location(void); +# endif +#endif libc_hidden_proto(__h_errno_location) /* Macros for accessing h_errno from inside libc. */ |