aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2009-05-25 09:53:57 +0000
committerMatthias Andree <matthias.andree@gmx.de>2009-05-25 09:53:57 +0000
commitf6a550182bfc2bdfd718f555e2c8f36e89da43f0 (patch)
treed082bd60a24b8569394f028cb8d69f2e791f28c8
parenta9f56c5147a7ee7d0c46fe03529daf26cfd9dbd0 (diff)
downloadfetchmail-f6a550182bfc2bdfd718f555e2c8f36e89da43f0.tar.gz
fetchmail-f6a550182bfc2bdfd718f555e2c8f36e89da43f0.tar.bz2
fetchmail-f6a550182bfc2bdfd718f555e2c8f36e89da43f0.zip
Fix another compiler warning if compiled without RES_SEARCH.
svn path=/branches/BRANCH_6-3/; revision=5327
-rw-r--r--mxget.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mxget.c b/mxget.c
index 9ccdb1cb..4529c223 100644
--- a/mxget.c
+++ b/mxget.c
@@ -126,7 +126,9 @@ struct mxentry *getmxrecords(const char *name)
int main(int argc, char *argv[])
{
+#ifdef HAVE_RES_SEARCH
struct mxentry *responses;
+#endif
if (argc != 2 || 0 == strcmp(argv[1], "-h")) {
fprintf(stderr, "Usage: %s domain\n", argv[0]);