tst_QHostInfo: reorganize the #includes

Change-Id: I5dd50a1a7ca5424d9e7afffd17adfb5d0bb9a54c
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
(cherry picked from commit 133c91865067a390d05376fc4073556d3fd3a083)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Thiago Macieira 2024-01-26 11:10:10 -08:00 committed by Qt Cherry-pick Bot
parent e8f42cf3ec
commit 672c1f87b0

View File

@ -12,31 +12,27 @@
# include <ws2tcpip.h> # include <ws2tcpip.h>
#endif #endif
#include <QTest>
#include <QTestEventLoop>
#include <QProcess>
#include <QCoreApplication>
#include <QDebug>
#include <QTcpSocket>
#include <QTcpServer>
#include <private/qthread_p.h>
#include <time.h>
#if defined(Q_OS_WIN)
#include <qt_windows.h>
#else
#include <unistd.h>
#include <signal.h>
#endif
#include <qhostinfo.h> #include <qhostinfo.h>
#include "private/qhostinfo_p.h" #include "private/qhostinfo_p.h"
#include <QCoreApplication>
#include <QDebug>
#include <QProcess>
#include <QTcpServer>
#include <QTcpSocket>
#include <QTest>
#include <QTestEventLoop>
#include <private/qthread_p.h>
#include <sys/types.h> #include <sys/types.h>
#if defined(Q_OS_UNIX)
# include <sys/socket.h> #if defined(Q_OS_WIN)
# include <qt_windows.h>
#else
# include <netdb.h> # include <netdb.h>
# include <sys/socket.h>
# include <unistd.h>
#endif #endif
#include "../../../network-settings.h" #include "../../../network-settings.h"