From a080badb0732037e7617bd010db12db78f6cc59e Mon Sep 17 00:00:00 2001 From: Gary Houston Date: Mon, 31 Jul 2000 21:08:30 +0000 Subject: [PATCH] 2000-07-31 Gary Houston * 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 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libguile/net_db.c b/libguile/net_db.c index ed1c54317..82da282b4 100644 --- a/libguile/net_db.c +++ b/libguile/net_db.c @@ -70,9 +70,7 @@ #include #include -/* 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