diff --git a/td/telegram/DialogSource.cpp b/td/telegram/DialogSource.cpp index 634c2046a..7df2e339c 100644 --- a/td/telegram/DialogSource.cpp +++ b/td/telegram/DialogSource.cpp @@ -6,6 +6,7 @@ // #include "td/telegram/DialogSource.h" +#include "td/utils/logging.h" #include "td/utils/misc.h" namespace td { diff --git a/td/telegram/StickersManager.cpp b/td/telegram/StickersManager.cpp index 46b57b5ce..76002e18c 100644 --- a/td/telegram/StickersManager.cpp +++ b/td/telegram/StickersManager.cpp @@ -50,6 +50,7 @@ #include "td/utils/utf8.h" #include +#include #include #include diff --git a/td/telegram/StickersManager.hpp b/td/telegram/StickersManager.hpp index 96c6ad7cc..2be9801e3 100644 --- a/td/telegram/StickersManager.hpp +++ b/td/telegram/StickersManager.hpp @@ -12,7 +12,6 @@ #include "td/telegram/misc.h" #include "td/telegram/Photo.hpp" -#include "td/utils/format.h" #include "td/utils/logging.h" #include "td/utils/misc.h" #include "td/utils/Slice.h" diff --git a/td/telegram/Td.cpp b/td/telegram/Td.cpp index 5593e36e1..0d6307655 100644 --- a/td/telegram/Td.cpp +++ b/td/telegram/Td.cpp @@ -27,6 +27,7 @@ #include "td/telegram/DialogId.h" #include "td/telegram/DialogLocation.h" #include "td/telegram/DialogParticipant.h" +#include "td/telegram/DialogSource.h" #include "td/telegram/DocumentsManager.h" #include "td/telegram/FileReferenceManager.h" #include "td/telegram/files/FileGcParameters.h" diff --git a/td/telegram/Td.h b/td/telegram/Td.h index 35f03301b..b6f83aa85 100644 --- a/td/telegram/Td.h +++ b/td/telegram/Td.h @@ -15,6 +15,7 @@ #include "td/telegram/TermsOfService.h" #include "td/telegram/td_api.h" +#include "td/telegram/telegram_api.h" #include "td/actor/actor.h" #include "td/actor/PromiseFuture.h" diff --git a/td/telegram/files/FileManager.cpp b/td/telegram/files/FileManager.cpp index a0ed6213a..9b401cbd7 100644 --- a/td/telegram/files/FileManager.cpp +++ b/td/telegram/files/FileManager.cpp @@ -25,6 +25,7 @@ #include "td/actor/SleepActor.h" #include "td/utils/base64.h" +#include "td/utils/crypto.h" #include "td/utils/filesystem.h" #include "td/utils/format.h" #include "td/utils/HttpUrl.h" diff --git a/td/telegram/files/FileManager.h b/td/telegram/files/FileManager.h index fe9a859db..cdc383cd7 100644 --- a/td/telegram/files/FileManager.h +++ b/td/telegram/files/FileManager.h @@ -38,6 +38,7 @@ #include #include #include +#include #include #include diff --git a/td/telegram/net/ConnectionCreator.cpp b/td/telegram/net/ConnectionCreator.cpp index 2536273c4..57d4bc88c 100644 --- a/td/telegram/net/ConnectionCreator.cpp +++ b/td/telegram/net/ConnectionCreator.cpp @@ -6,11 +6,8 @@ // #include "td/telegram/net/ConnectionCreator.h" -#include "td/telegram/telegram_api.h" - #include "td/telegram/ConfigManager.h" #include "td/telegram/ConfigShared.h" -#include "td/telegram/DialogSource.h" #include "td/telegram/Global.h" #include "td/telegram/logevent/LogEvent.h" #include "td/telegram/MessagesManager.h" diff --git a/td/telegram/net/ConnectionCreator.h b/td/telegram/net/ConnectionCreator.h index 6b1fc90cb..dc6146797 100644 --- a/td/telegram/net/ConnectionCreator.h +++ b/td/telegram/net/ConnectionCreator.h @@ -7,7 +7,6 @@ #pragma once #include "td/telegram/td_api.h" -#include "td/telegram/telegram_api.h" #include "td/telegram/net/DcId.h" #include "td/telegram/net/DcOptions.h"