--- resolv/res_data.c.orig	Thu Dec 11 09:59:00 2008
+++ resolv/res_data.c	Mon Jan 26 22:34:13 2015
@@ -69,7 +69,9 @@ const char *_res_sectioncodes[] = {
 };
 #endif
 
+#ifdef NODEF___IN_OPENBSD
 #undef _res
+#endif
 #ifndef __BIND_NOSTATIC
 struct __res_state _res
 # if defined(__BIND_RES_TEXT)
