$OpenBSD: patch-qtbase_src_network_kernel_qdnslookup_unix_cpp,v 1.1.1.1 2014/12/08 20:33:38 zhuk Exp $
Unbreak compilation.
--- qtbase/src/network/kernel/qdnslookup_unix.cpp.ports.orig	Sun Nov  2 17:28:49 2014
+++ qtbase/src/network/kernel/qdnslookup_unix.cpp	Sun Nov  2 18:29:57 2014
@@ -49,7 +49,9 @@
 #include <sys/types.h>
 #include <netinet/in.h>
 #include <arpa/nameser.h>
-#include <arpa/nameser_compat.h>
+#ifndef Q_OS_OPENBSD
+# include <arpa/nameser_compat.h>
+#endif
 #include <resolv.h>
 
 #if defined(__GNU_LIBRARY__) && !defined(__UCLIBC__)
@@ -59,6 +61,8 @@
 QT_BEGIN_NAMESPACE
 
 #ifndef QT_NO_LIBRARY
+
+typedef struct __res_state*	res_state;
 
 typedef int (*dn_expand_proto)(const unsigned char *, const unsigned char *, const unsigned char *, char *, int);
 static dn_expand_proto local_dn_expand = 0;
