--- irs/irs_data.c.orig Mon Aug 27 04:32:26 2007 +++ irs/irs_data.c Mon Jan 26 22:34:13 2015 @@ -43,7 +43,9 @@ static const char rcsid[] = "$Id: irs_data.c,v 1.12 20 #include "port_after.h" #include "irs_data.h" +#ifdef NODEF___IN_OPENBSD #undef _res +#endif #if !(__GLIBC__ > 2 || __GLIBC__ == 2 && __GLIBC_MINOR__ >= 3) #undef h_errno extern int h_errno;