--- src/Resolver.cc.orig	Mon Oct  8 09:29:14 2007
+++ src/Resolver.cc	Fri Feb  8 12:40:13 2008
@@ -740,8 +740,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);
