DEVEL15-linux-configure-vfs-update-20070612
[openafs.git] / src / cf / ressearch.m4
index 53e237d..c8cc0f4 100644 (file)
@@ -1,9 +1,12 @@
-AC_DEFUN(AC_FUNC_RES_SEARCH, [
+AC_DEFUN([AC_FUNC_RES_SEARCH], [
   ac_cv_func_res_search=no
   AC_TRY_LINK([
 #include <sys/types.h>
 #include <netinet/in.h>
 #include <arpa/nameser.h>
+#ifdef HAVE_ARPA_NAMESER_COMPAT_H
+#include <arpa/nameser_compat.h>
+#endif
 #include <resolv.h>],
   [
 const char host[11]="openafs.org";