summaryrefslogtreecommitdiff
path: root/inet
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1994-07-28 22:06:05 +0000
committerRoland McGrath <roland@gnu.org>1994-07-28 22:06:05 +0000
commit99d215a64aca51f2108f398c8d898de805242888 (patch)
tree528153c3d5d6669b1befcadcf228fec9582808c9 /inet
parentcf1e91e678fcd8d42007af035a4ac168ecc5d29e (diff)
Declare h_errno.
Diffstat (limited to 'inet')
-rw-r--r--inet/netdb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/inet/netdb.h b/inet/netdb.h
index e39081c359..286dad2028 100644
--- a/inet/netdb.h
+++ b/inet/netdb.h
@@ -116,6 +116,8 @@ struct protoent {
* (left in extern int h_errno).
*/
+extern int h_errno;
+
#define HOST_NOT_FOUND 1 /* Authoritative Answer Host not found */
#define TRY_AGAIN 2 /* Non-Authoritive Host not found, or SERVERFAIL */
#define NO_RECOVERY 3 /* Non recoverable errors, FORMERR, REFUSED, NOTIMP */