normally it would be found in netdb.h.
+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
#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"