mirror of git://sourceware.org/git/glibc.git
Add back h_errno declaration.
This commit is contained in:
parent
9ea61563fa
commit
11ff775eb8
|
|
@ -106,6 +106,8 @@ struct protoent {
|
||||||
* (left in extern int h_errno).
|
* (left in extern int h_errno).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
extern int h_errno;
|
||||||
|
|
||||||
#define HOST_NOT_FOUND 1 /* Authoritative Answer Host not found */
|
#define HOST_NOT_FOUND 1 /* Authoritative Answer Host not found */
|
||||||
#define TRY_AGAIN 2 /* Non-Authoritive Host not found, or SERVERFAIL */
|
#define TRY_AGAIN 2 /* Non-Authoritive Host not found, or SERVERFAIL */
|
||||||
#define NO_RECOVERY 3 /* Non recoverable errors, FORMERR, REFUSED, NOTIMP */
|
#define NO_RECOVERY 3 /* Non recoverable errors, FORMERR, REFUSED, NOTIMP */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue