1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 11:40:18 +02:00

* net_db.c: define h_errno if configure didn't define HAVE_H_ERRNO.

normally it would be found in netdb.h.
This commit is contained in:
Gary Houston 2001-03-18 11:54:25 +00:00
parent e9e225e5ac
commit 789ecc0581
2 changed files with 11 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2001-03-18 Gary Houston <ghouston@arglist.com>
* net_db.c: declare h_errno if configure didn't define HAVE_H_ERRNO.
normally it would be found in netdb.h.
2001-03-17 Gary Houston <ghouston@arglist.com>
* sort.c (scm_sort): move sortvec variable to avoid a compiler

View file

@ -78,9 +78,15 @@ int close ();
#endif /* STDC_HEADERS */
#ifndef HAVE_INET_ATON
/* for our definition in inet_aton.c, not usually needed. */
extern int inet_aton ();
#endif
#ifndef HAVE_H_ERRNO
/* h_errno not found in netdb.h, maybe this will help. */
extern int h_errno;
#endif
SCM_DEFINE (scm_inet_aton, "inet-aton", 1, 0, 0,
(SCM address),
"Converts a string containing an Internet host address in the traditional\n"