--- kdelibs-3.5.10/kio/misc/kpac/discovery.cpp.orig	2005-10-11 00:05:43.000000000 +0900
+++ kdelibs-3.5.10/kio/misc/kpac/discovery.cpp	2009-08-22 18:24:08.000000000 +0900
@@ -31,6 +31,10 @@
 #include <arpa/nameser.h>
 #ifdef HAVE_ARPA_NAMESER8_COMPAT_H
 #include <arpa/nameser8_compat.h>
+#else
+#ifdef HAVE_ARPA_NAMESER_COMPAT_H
+#include <arpa/nameser_compat.h>
+#endif
 #endif
 #ifdef HAVE_SYS_PARAM_H
 // Basically, the BSDs need this before resolv.h
