From 672c1f87b0ee1767895391f0de9f4faff6b40e7d Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Fri, 26 Jan 2024 11:10:10 -0800 Subject: [PATCH] tst_QHostInfo: reorganize the #includes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I5dd50a1a7ca5424d9e7afffd17adfb5d0bb9a54c Reviewed-by: MÃ¥rten Nordheim (cherry picked from commit 133c91865067a390d05376fc4073556d3fd3a083) Reviewed-by: Qt Cherry-pick Bot --- .../kernel/qhostinfo/tst_qhostinfo.cpp | 36 +++++++++---------- 1 file changed, 16 insertions(+), 20 deletions(-) diff --git a/tests/auto/network/kernel/qhostinfo/tst_qhostinfo.cpp b/tests/auto/network/kernel/qhostinfo/tst_qhostinfo.cpp index b81ead7e80c..280788d2ee9 100644 --- a/tests/auto/network/kernel/qhostinfo/tst_qhostinfo.cpp +++ b/tests/auto/network/kernel/qhostinfo/tst_qhostinfo.cpp @@ -12,31 +12,27 @@ # include #endif -#include -#include -#include -#include -#include -#include -#include - -#include - -#include -#if defined(Q_OS_WIN) -#include -#else -#include -#include -#endif - #include #include "private/qhostinfo_p.h" +#include +#include +#include +#include +#include +#include +#include + +#include + #include -#if defined(Q_OS_UNIX) -# include + +#if defined(Q_OS_WIN) +# include +#else # include +# include +# include #endif #include "../../../network-settings.h"