aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--checkalias.c2
-rw-r--r--driver.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/checkalias.c b/checkalias.c
index 80e3f007..b13f1296 100644
--- a/checkalias.c
+++ b/checkalias.c
@@ -1,5 +1,5 @@
/*
- * checkalias.c -- check to see if the IP addresses of two hosts are the same
+ * checkalias.c -- check to see if two hostnames or IP addresses are equivalent
*
* Copyright 1997 by Eric S. Raymond
* For license terms, see the file COPYING in this directory.
diff --git a/driver.c b/driver.c
index f32e471f..c045393b 100644
--- a/driver.c
+++ b/driver.c
@@ -43,9 +43,9 @@
#include <time.h>
#endif
-#ifdef HAVE_GETHOSTBYNAME
+#ifdef HAVE_RES_SEARCH
#include <netdb.h>
-#endif /* HAVE_GETHOSTBYNAME */
+#endif /* HAVE_RES_SEARCH */
#ifdef KERBEROS_V4
#if defined (__bsdi__)