From 143eec7e1f6a0c45addda97f4c217869e1b141b6 Mon Sep 17 00:00:00 2001 From: Jack Moffitt Date: Wed, 8 Feb 2012 21:46:25 -0700 Subject: [PATCH] Remove need for nameser_compat.h. --- src/sock.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/sock.c b/src/sock.c index 83816c8..a1571f8 100644 --- a/src/sock.c +++ b/src/sock.c @@ -35,7 +35,6 @@ #include #include #include -#include #include #endif @@ -866,7 +865,7 @@ int sock_srv_lookup(const char *service, const char *proto, const char *domain, unsigned char buf[65535]; int len; - if ((len = res_query(fulldomain, C_IN, T_SRV, buf, 65535)) > 0) { + if ((len = res_query(fulldomain, ns_c_in, ns_t_srv, buf, 65535)) > 0) { int offset; int i; struct dnsquery_header header;