From 2c81c415ceda41331df567ba97ab5cdf98211107 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 26 Feb 2002 09:32:21 +0000 Subject: Fix rpc + threads so it now compiles. --- include/netdb.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'include/netdb.h') diff --git a/include/netdb.h b/include/netdb.h index aea6e0050..c3e07728c 100644 --- a/include/netdb.h +++ b/include/netdb.h @@ -53,13 +53,9 @@ __BEGIN_DECLS -/* Error status for non-reentrant lookup functions. - * NOTE: uClibc reuses errno for h_errno. */ -#include -#define h_errno errno +/* Error status for non-reentrant lookup functions. */ +extern int h_errno; - -#if 0 /* Function to get address of global `h_errno' variable. */ extern int *__h_errno_location (void) __THROW __attribute__ ((__const__)); @@ -80,7 +76,6 @@ __set_h_errno (int __err) /* Use a macro to access always the thread specific `h_errno' variable. */ # define h_errno (*__h_errno_location ()) #endif -#endif /* Possible values left in `h_errno'. */ -- cgit v1.2.3