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