aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
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