aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2001-09-28 14:35:34 +0000
committerEric S. Raymond <esr@thyrsus.com>2001-09-28 14:35:34 +0000
commitda1f45287303098b4ab55510d5b00a201884e50f (patch)
treee0bc0eb87a85c02a6a38c0b4c18d63865ddb661f /driver.c
parentc7c9d4903ec4f8036252b00d118933f9fc3dec30 (diff)
downloadfetchmail-da1f45287303098b4ab55510d5b00a201884e50f.tar.gz
fetchmail-da1f45287303098b4ab55510d5b00a201884e50f.tar.bz2
fetchmail-da1f45287303098b4ab55510d5b00a201884e50f.zip
Prevent UID lossage because of the DNS lookups getting moved.
svn path=/trunk/; revision=3497
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c4
1 files changed, 2 insertions, 2 deletions
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