HCoop
/
bpt
/
guile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42aae63
)
2000-07-31 Gary Houston <ghouston@arglist.com>
author
Gary Houston
<ghouston@arglist.com>
Mon, 31 Jul 2000 21:08:30 +0000
(21:08 +0000)
committer
Gary Houston
<ghouston@arglist.com>
Mon, 31 Jul 2000 21:08:30 +0000
(21:08 +0000)
* net_db.c: declare h_errno only if HAVE_H_ERRNO is defined
(thanks to Richard Kim for the bug report).
libguile/net_db.c
patch
|
blob
|
blame
|
history
diff --git
a/libguile/net_db.c
b/libguile/net_db.c
index
ed1c543
..
82da282
100644
(file)
--- a/
libguile/net_db.c
+++ b/
libguile/net_db.c
@@
-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