summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/auto/network-settings.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/network-settings.h b/tests/auto/network-settings.h
index 40178fb..6ffb6f4 100644
--- a/tests/auto/network-settings.h
+++ b/tests/auto/network-settings.h
@@ -40,7 +40,9 @@
****************************************************************************/
#include <QString>
+#ifdef QT_NETWORK_LIB
#include <QtNetwork/QHostInfo>
+#endif
#ifdef Q_OS_SYMBIAN