--- src/libspf2/spf_dns.c.orig Tue Nov 14 17:21:33 2006 +++ src/libspf2/spf_dns.c Tue Nov 14 17:22:31 2006 @@ -46,7 +46,7 @@ static void SPF_dns_debug_pre(SPF_dns_server_t *spf_dns_server, const char *domain, - ns_type rr_type, int should_cache) + int rr_type, int should_cache) { if ( spf_dns_server->debug ) { SPF_debugf( "DNS %s lookup: %s %s (%d)", @@ -104,7 +104,7 @@ SPF_dns_free(SPF_dns_server_t *spf_dns_s SPF_dns_rr_t * SPF_dns_lookup(SPF_dns_server_t *spf_dns_server, const char *domain, - ns_type rr_type, int should_cache) + int rr_type, int should_cache) { SPF_dns_rr_t *spfrr; @@ -121,7 +121,7 @@ SPF_dns_lookup(SPF_dns_server_t *spf_dns SPF_dns_rr_t * SPF_dns_rlookup(SPF_dns_server_t *spf_dns_server, struct in_addr ipv4, - ns_type rr_type, int should_cache) + int rr_type, int should_cache) { char domain[ sizeof( "111.222.333.444.in-addr.arpa" ) ]; union { @@ -141,7 +141,7 @@ SPF_dns_rlookup(SPF_dns_server_t *spf_dn } SPF_dns_rr_t *SPF_dns_rlookup6( SPF_dns_server_t *spf_dns_server, - struct in6_addr ipv6, ns_type rr_type, int should_cache ) + struct in6_addr ipv6, int rr_type, int should_cache ) { char domain[ sizeof( struct in6_addr ) * 4 + sizeof( ".ip6.arpa" ) + 1 ]; /* nibbles */