aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--driver.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 800743ee..3fd98812 100644
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,7 @@
(The `lines' figures total .c, .h, .l, and .y files under version control.)
* Fix configuration error in handling of long options.
+* Thomas Moestl's patch to use querynames in UID files.
fetchmail-5.9.2 (Wed Sep 26 12:47:00 EDT 2001), 21118 lines:
diff --git a/driver.c b/driver.c
index 080db5b3..bd05eea9 100644
--- a/driver.c
+++ b/driver.c
@@ -32,10 +32,10 @@
#include <hesiod.h>
#endif
-#ifdef HAVE_RES_SEARCH
+#if defined(HAVE_RES_SEARCH) || defined(HAVE_GETHOSTBYNAME)
#include <netdb.h>
#include "mx.h"
-#endif /* HAVE_RES_SEARCH */
+#endif /* defined(HAVE_RES_SEARCH) || defined(HAVE_GETHOSTBYNAME) */
#include "kerberos.h"
#ifdef KERBEROS_V4