diff options
Diffstat (limited to 'etrn.c')
-rw-r--r-- | etrn.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 */ |