1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-01 20:30:28 +02:00

2000-07-31 Gary Houston <ghouston@arglist.com>

* net_db.c: declare h_errno only if HAVE_H_ERRNO is defined
	(thanks to Richard Kim for the bug report).
This commit is contained in:
Gary Houston 2000-07-31 21:08:30 +00:00
parent 42aae6335f
commit a080badb07

View file

@ -70,9 +70,7 @@
#include <netinet/in.h> #include <netinet/in.h>
#include <arpa/inet.h> #include <arpa/inet.h>
/* Some systems do not declare this. Some systems do declare it, as a #if !defined (HAVE_H_ERRNO)
macro. */
#ifndef h_errno
extern int h_errno; extern int h_errno;
#endif #endif