OSDN Git Service

Hmm, things broke with vapiers update. Lets
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>
Thu, 18 Aug 2005 11:46:04 +0000 (11:46 -0000)
committerJoakim Tjernlund <joakim.tjernlund@transmode.se>
Thu, 18 Aug 2005 11:46:04 +0000 (11:46 -0000)
make it compile and let vapier worry about the rest :)

include/netdb.h

index 6981298..3023ba0 100644 (file)
@@ -55,10 +55,9 @@ __BEGIN_DECLS
 
 /* Error status for non-reentrant lookup functions.
    We use a macro to access always the thread-specific `h_errno' variable.  */
+extern int h_errno;
 #if defined(__UCLIBC_HAS_THREADS__)
 # define h_errno (*__h_errno_location ())
-#else
-extern int h_errno;
 #endif
 
 /* Function to get address of global `h_errno' variable.  */