From ea2d3f802bec6109f6b1f717ee5f8a15e132847d Mon Sep 17 00:00:00 2001 From: Mike McCormack Date: Mon, 5 Jun 2006 21:50:00 +0900 Subject: [PATCH] dnsapi: Fix the case where we have libresolv headers but no libraries. --- dlls/dnsapi/ns_parse.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dlls/dnsapi/ns_parse.c b/dlls/dnsapi/ns_parse.c index 7d76428046e..9c386bc6d57 100644 --- a/dlls/dnsapi/ns_parse.c +++ b/dlls/dnsapi/ns_parse.c @@ -17,6 +17,8 @@ #include "config.h" +#ifdef HAVE_RESOLV + #include #ifdef HAVE_NETINET_IN_H @@ -180,3 +182,5 @@ setsection(ns_msg *msg, ns_sect sect) { NS_PTR(msg) = msg->_sections[(int)sect]; } } + +#endif