From 7b449abde29ba2da91cc3c22c5454f21200ece53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jeremy=20Lain=C3=A9?= Date: Wed, 1 Feb 2012 09:34:04 +0100 Subject: Fix QDnslookup build on FreeBSD Unify the includes for resolver function on unix-like platforms to avoid build failures on BSD platforms. Change-Id: I9accd7077d5a319a2c93642e011492d0fc779394 Reviewed-by: Holger Freyther Reviewed-by: Thiago Macieira --- src/network/kernel/qdnslookup_unix.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/network/kernel/qdnslookup_unix.cpp') diff --git a/src/network/kernel/qdnslookup_unix.cpp b/src/network/kernel/qdnslookup_unix.cpp index 21a7135106..7767dac45a 100644 --- a/src/network/kernel/qdnslookup_unix.cpp +++ b/src/network/kernel/qdnslookup_unix.cpp @@ -47,11 +47,9 @@ #include #include -#include -#if defined(Q_OS_MAC) +#include #include #include -#endif #include QT_BEGIN_NAMESPACE -- cgit v1.2.3