tst_QHostInfo: reorganize the #includes

Pick-to: 6.7
Change-Id: I5dd50a1a7ca5424d9e7afffd17adfb5d0bb9a54c
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
bb10
Thiago Macieira 2024-01-26 11:10:10 -08:00
parent 702c420f51
commit 133c918650
1 changed files with 16 additions and 20 deletions

View File

@ -12,31 +12,27 @@
# include <ws2tcpip.h>
#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 "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>
#if defined(Q_OS_UNIX)
# include <sys/socket.h>
#if defined(Q_OS_WIN)
# include <qt_windows.h>
#else
# include <netdb.h>
# include <sys/socket.h>
# include <unistd.h>
#endif
#include "../../../network-settings.h"