From cbcdb5f4cf7e52c3e184d87cc8716d6a9dcc9728 Mon Sep 17 00:00:00 2001 From: Jason McDonald Date: Mon, 28 Nov 2011 12:02:52 +1000 Subject: Correct usage of network-settings.h. Four of the modified files only use functions from network-settings.h on Windows, and the other three files don't use anything from that header. Change-Id: Ifa4b0319d14367735b859e538921fa0eeeccce1a Reviewed-by: Rohan McGovern --- tests/auto/corelib/io/qdir/tst_qdir.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/auto/corelib/io/qdir') diff --git a/tests/auto/corelib/io/qdir/tst_qdir.cpp b/tests/auto/corelib/io/qdir/tst_qdir.cpp index 28ccad3b56..d6944eada8 100644 --- a/tests/auto/corelib/io/qdir/tst_qdir.cpp +++ b/tests/auto/corelib/io/qdir/tst_qdir.cpp @@ -47,7 +47,10 @@ #include #include #include + +#if (defined(Q_OS_WIN) && !defined(Q_OS_WINCE)) #include "../../../network-settings.h" +#endif #if defined(Q_OS_WIN) #define _WIN32_WINNT 0x500 -- cgit v1.2.3