--- src/Resolver.cc.orig	Thu Nov 27 13:56:26 2008
+++ src/Resolver.cc	Sun Dec 14 13:11:16 2008
@@ -756,8 +756,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);
