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:
parent
42aae6335f
commit
a080badb07
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue