$OpenBSD: patch-src_c-ares_ares_gethostbyname_c,v 1.1 2006/09/22 03:42:57 pvalchev Exp $
--- src/c-ares/ares_gethostbyname.c.orig	Sun Aug  6 07:58:06 2006
+++ src/c-ares/ares_gethostbyname.c	Sun Aug  6 07:58:24 2006
@@ -24,7 +24,9 @@
 #include <arpa/inet.h>
 #include <netdb.h>
 #include <arpa/nameser.h>
+#ifdef HAVE_ARPA_NAMESER_COMPAT_H
 #include <arpa/nameser_compat.h>
+#endif
 #endif
 
 #include <stdio.h>
