$NetBSD: patch-ax,v 1.3 2007/03/16 05:46:07 cjs Exp $

# http://bugzilla.mindrot.org/show_bug.cgi?id=1299

--- openbsd-compat/getrrsetbyname.c.orig	2006-09-02 14:32:40.000000000 +0900
+++ openbsd-compat/getrrsetbyname.c	2007-03-16 14:07:32.000000000 +0900
@@ -67,14 +67,6 @@
 #endif
 #define _THREAD_PRIVATE(a,b,c) (c)
 
-/* to avoid conflicts where a platform already has _res */
-#ifdef _res
-# undef _res
-#endif
-#define _res	_compat_res
-
-struct __res_state _res;
-
 /* Necessary functions and macros */
 
 /*
