summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>2005-08-18 11:46:04 +0000
committerJoakim Tjernlund <joakim.tjernlund@transmode.se>2005-08-18 11:46:04 +0000
commit4b54d5bd133cd8c7a2e39aaa6bb7db0fccbd5003 (patch)
treef06f635d543f80655d8ff9ee373bffcb0026680e
parent76945fb0934d4a64fcc3e3041a4560ca6f58aa41 (diff)
Hmm, things broke with vapiers update. Lets
make it compile and let vapier worry about the rest :)
-rw-r--r--include/netdb.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/netdb.h b/include/netdb.h
index 69812986c..3023ba04f 100644
--- a/include/netdb.h
+++ b/include/netdb.h
@@ -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. */