aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fetchmail.c b/fetchmail.c
index 539da0e7..83ce10ef 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -343,8 +343,10 @@ int main (int argc, char **argv)
if (errno == ENETUNREACH)
break; /* go to sleep */
}
+#ifdef HAVE_HERROR /* NEXTSTEP doesn't */
else
herror("DNS error");
+#endif /* HAVE_HERROR */
continue;
}
else