Commit ea2d3f80 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

dnsapi: Fix the case where we have libresolv headers but no libraries.

parent 2c3adec5
...@@ -17,6 +17,8 @@ ...@@ -17,6 +17,8 @@
#include "config.h" #include "config.h"
#ifdef HAVE_RESOLV
#include <sys/types.h> #include <sys/types.h>
#ifdef HAVE_NETINET_IN_H #ifdef HAVE_NETINET_IN_H
...@@ -180,3 +182,5 @@ setsection(ns_msg *msg, ns_sect sect) { ...@@ -180,3 +182,5 @@ setsection(ns_msg *msg, ns_sect sect) {
NS_PTR(msg) = msg->_sections[(int)sect]; NS_PTR(msg) = msg->_sections[(int)sect];
} }
} }
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment