mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 20:00:19 +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:
parent
42aae6335f
commit
a080badb07
1 changed files with 1 additions and 3 deletions
|
@ -70,9 +70,7 @@
|
|||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
|
||||
/* Some systems do not declare this. Some systems do declare it, as a
|
||||
macro. */
|
||||
#ifndef h_errno
|
||||
#if !defined (HAVE_H_ERRNO)
|
||||
extern int h_errno;
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue