summaryrefslogtreecommitdiffstats
path: root/src/network/kernel/qdnslookup_unix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/kernel/qdnslookup_unix.cpp')
-rw-r--r--src/network/kernel/qdnslookup_unix.cpp4
1 files changed, 1 insertions, 3 deletions
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 <private/qmutexpool_p.h>
#include <sys/types.h>
-#include <netdb.h>
-#if defined(Q_OS_MAC)
+#include <netinet/in.h>
#include <arpa/nameser.h>
#include <arpa/nameser_compat.h>
-#endif
#include <resolv.h>
QT_BEGIN_NAMESPACE