--- plugins/dns/dns.c.orig	2007-04-05 07:40:48.000000000 -0500
+++ plugins/dns/dns.c	2010-04-01 02:44:51.000000000 -0500
@@ -9,6 +9,7 @@
 #endif
 #include <netinet/in.h>
 #include <arpa/nameser.h>
+#include <arpa/nameser_compat.h>
 #include <resolv.h>
 
 struct addrinfo name_server;
