aboutsummaryrefslogtreecommitdiffstats
path: root/etrn.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-07-01 16:54:08 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-07-01 16:54:08 +0000
commite72637a2022c33425341ab26790d19f88d18fec5 (patch)
tree6e05468152b570260c6e3dbc5ed21b1c18144caa /etrn.c
parent197ed6c695bd3bf8040fe5df91ceece243d78a81 (diff)
downloadfetchmail-e72637a2022c33425341ab26790d19f88d18fec5.tar.gz
fetchmail-e72637a2022c33425341ab26790d19f88d18fec5.tar.bz2
fetchmail-e72637a2022c33425341ab26790d19f88d18fec5.zip
Some configuration cleanup.
svn path=/trunk/; revision=1133
Diffstat (limited to 'etrn.c')
-rw-r--r--etrn.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/etrn.c b/etrn.c
index 5ccc0f86..6b6df343 100644
--- a/etrn.c
+++ b/etrn.c
@@ -14,6 +14,9 @@
#include "smtp.h"
#include "socket.h"
+#ifdef HAVE_GETHOSTBYNAME
+#include <netdb.h>
+
static int etrn_ok (int sock, char *argbuf)
/* parse command response */
{
@@ -187,4 +190,6 @@ int doETRN (struct query *ctl)
return(do_protocol(ctl, &etrn));
}
+#endif /* HAVE_GETHOSTBYNAME */
+
/* etrn.c ends here */