--- asterisk-1.8.20.1.orig/main/dns.c	2012-06-15 17:56:08.000000000 +0200
+++ asterisk-1.8.20.1/main/dns.c	2013-03-05 14:49:01.000000000 +0100
@@ -45,6 +45,8 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revisi
 #include "asterisk/dns.h"
 #include "asterisk/endian.h"
 
+#undef HAVE_RES_NINIT
+
 #define MAX_SIZE 4096
 
 #ifdef __PDP_ENDIAN
