From b3d8d30b254b23f15089dc0caf9a41a24bad817e Mon Sep 17 00:00:00 2001
From: Markus Goetz <Markus.Goetz@nokia.com>
Date: Tue, 8 Sep 2009 15:52:20 +0200
Subject: network-settings.h: Check for DNS setup only when needed

---
 tests/auto/network-settings.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/auto/network-settings.h b/tests/auto/network-settings.h
index da96599..8a8c6f6 100644
--- a/tests/auto/network-settings.h
+++ b/tests/auto/network-settings.h
@@ -74,6 +74,7 @@ public:
 
 };
 
+#ifdef QT_NETWORK_LIB
 class QtNetworkSettingsInitializerCode {
 public:
     QtNetworkSettingsInitializerCode() {
@@ -87,3 +88,4 @@ public:
     }
 };
 QtNetworkSettingsInitializerCode qtNetworkSettingsInitializer;
+#endif
-- 
cgit v0.12