aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-04-02 22:17:44 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-04-02 22:17:44 +0000
commit34ade3fe045edb6104a0dc125a64e17ee2059dbe (patch)
treec0ca41491c7de03c8c2160dff07dd9b7f89b580c
parent085585f30d8ba479c2bedd72e4a8fe3dc121bca5 (diff)
downloadfetchmail-34ade3fe045edb6104a0dc125a64e17ee2059dbe.tar.gz
fetchmail-34ade3fe045edb6104a0dc125a64e17ee2059dbe.tar.bz2
fetchmail-34ade3fe045edb6104a0dc125a64e17ee2059dbe.zip
Enable 3.9 to compile even without RES_SEARCH.
svn path=/trunk/; revision=947
-rw-r--r--driver.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/driver.c b/driver.c
index 765d2407..4fa9e73c 100644
--- a/driver.c
+++ b/driver.c
@@ -88,6 +88,11 @@ static void timeout_handler (int signal)
longjmp(restart, 1);
}
+#define XMIT_ACCEPT 1
+#define XMIT_REJECT 2
+#define XMIT_ANTISPAM 3
+static int accept_count, reject_count;
+
#ifdef HAVE_RES_SEARCH
#define MX_RETRIES 3
@@ -191,11 +196,6 @@ static int is_host_alias(const char *name, struct query *ctl)
return(TRUE);
}
-#define XMIT_ACCEPT 1
-#define XMIT_REJECT 2
-#define XMIT_ANTISPAM 3
-static int accept_count, reject_count;
-
static void map_name(name, ctl, xmit_names)
/* add given name to xmit_names if it matches declared localnames */
const char *name; /* name to map */