$OpenBSD: patch-src_Resolver_cc,v 1.10 2013/05/29 14:08:06 jasper Exp $
--- src/Resolver.cc.orig	Mon Sep 24 11:16:03 2012
+++ src/Resolver.cc	Thu May 16 09:53:26 2013
@@ -800,8 +800,6 @@ void Resolver::LookupOne(const char *name)
 #  undef h_errno // it could be a macro, but we want it to be local variable.
       int h_errno=0;
       ha=getipnodebyname(name,af,0,&h_errno);
-# elif defined(HAVE_GETHOSTBYNAME2)
-      ha=gethostbyname2(name,af);
 # else
       if(af==AF_INET)
 	 ha=gethostbyname(name);
