diff --git a/src/base/bittorrent/session.cpp b/src/base/bittorrent/session.cpp index 99439a360..5f5fd861d 100644 --- a/src/base/bittorrent/session.cpp +++ b/src/base/bittorrent/session.cpp @@ -100,7 +100,6 @@ #include "statistics.h" #include "torrentimpl.h" #include "tracker.h" -#include "trackerentry.h" static const char PEER_ID[] = "qB"; static const char RESUME_FOLDER[] = "BT_backup"; diff --git a/src/base/bittorrent/session.h b/src/base/bittorrent/session.h index c6bd8c813..ac5d39e26 100644 --- a/src/base/bittorrent/session.h +++ b/src/base/bittorrent/session.h @@ -50,6 +50,7 @@ #include "cachestatus.h" #include "sessionstatus.h" #include "torrentinfo.h" +#include "trackerentry.h" class QFile; class QNetworkConfiguration; @@ -100,7 +101,6 @@ namespace BitTorrent class TorrentImpl; class Tracker; struct LoadTorrentParams; - struct TrackerEntry; enum class MoveStorageMode; diff --git a/src/base/net/reverseresolution.cpp b/src/base/net/reverseresolution.cpp index b53ea1989..8349229e3 100644 --- a/src/base/net/reverseresolution.cpp +++ b/src/base/net/reverseresolution.cpp @@ -28,7 +28,6 @@ #include "reverseresolution.h" -#include #include #include diff --git a/src/base/net/reverseresolution.h b/src/base/net/reverseresolution.h index 7e4c4af7a..3e4a5d2d9 100644 --- a/src/base/net/reverseresolution.h +++ b/src/base/net/reverseresolution.h @@ -29,9 +29,9 @@ #pragma once #include +#include #include -class QHostAddress; class QHostInfo; class QString;