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

This commit is contained in:
Mike McCormack 2006-06-05 21:50:00 +09:00 committed by Alexandre Julliard
parent 2c3adec595
commit ea2d3f802b
1 changed files with 4 additions and 0 deletions

View File

@ -17,6 +17,8 @@
#include "config.h"
#ifdef HAVE_RESOLV
#include <sys/types.h>
#ifdef HAVE_NETINET_IN_H
@ -180,3 +182,5 @@ setsection(ns_msg *msg, ns_sect sect) {
NS_PTR(msg) = msg->_sections[(int)sect];
}
}
#endif