From f6a550182bfc2bdfd718f555e2c8f36e89da43f0 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Mon, 25 May 2009 09:53:57 +0000 Subject: Fix another compiler warning if compiled without RES_SEARCH. svn path=/branches/BRANCH_6-3/; revision=5327 --- mxget.c | 2 ++ 1 file changed, 2 insertions(+) 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]); -- cgit v1.2.3