aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2023-08-05 16:09:36 +0300
committerlevlam <levlam@telegram.org>2023-08-05 16:09:36 +0300
commit28961b7d0e338c566b9f953a46ecff9bfc72c3b7 (patch)
tree8e8c02b11de878ed69817505fece215b9ed57011
parent830da27abf9cdd92a5c8b8a99be4fe6c2f0f8951 (diff)
Add more common.h includes.
-rw-r--r--td/mtproto/HttpTransport.h1
-rw-r--r--td/mtproto/SessionConnection.h1
-rw-r--r--td/mtproto/TlsInit.h1
-rw-r--r--td/telegram/TdDb.h1
-rw-r--r--td/telegram/files/FileGenerateManager.h1
-rw-r--r--td/telegram/files/FileLoader.h1
-rw-r--r--td/telegram/files/FileStatsWorker.cpp1
-rw-r--r--td/telegram/files/FileUploader.h1
-rw-r--r--td/telegram/files/ResourceManager.h1
-rw-r--r--td/telegram/net/DcOptionsSet.h1
-rw-r--r--td/telegram/net/MtprotoHeader.cpp1
-rw-r--r--td/telegram/net/NetQueryCreator.h1
-rw-r--r--td/telegram/net/NetStatsManager.h1
-rw-r--r--td/telegram/net/SessionProxy.h2
-rw-r--r--tdactor/td/actor/impl/Actor-decl.h1
-rw-r--r--tddb/td/db/SqliteDb.h1
-rw-r--r--tddb/td/db/SqliteKeyValueSafe.h2
-rw-r--r--tddb/td/db/TsSeqKeyValue.h1
-rw-r--r--tdnet/td/net/GetHostByNameActor.h1
-rw-r--r--tdnet/td/net/TcpListener.h1
-rw-r--r--tdutils/td/utils/Timer.h1
-rw-r--r--tdutils/td/utils/filesystem.h1
22 files changed, 24 insertions, 0 deletions
diff --git a/td/mtproto/HttpTransport.h b/td/mtproto/HttpTransport.h
index bbcf6e9b0..6be834ad0 100644
--- a/td/mtproto/HttpTransport.h
+++ b/td/mtproto/HttpTransport.h
@@ -14,6 +14,7 @@
#include "td/net/HttpReader.h"
#include "td/utils/buffer.h"
+#include "td/utils/common.h"
#include "td/utils/port/detail/PollableFd.h"
#include "td/utils/Status.h"
diff --git a/td/mtproto/SessionConnection.h b/td/mtproto/SessionConnection.h
index 0452b86e3..398dada72 100644
--- a/td/mtproto/SessionConnection.h
+++ b/td/mtproto/SessionConnection.h
@@ -11,6 +11,7 @@
#include "td/mtproto/RawConnection.h"
#include "td/utils/buffer.h"
+#include "td/utils/common.h"
#include "td/utils/FlatHashMap.h"
#include "td/utils/format.h"
#include "td/utils/logging.h"
diff --git a/td/mtproto/TlsInit.h b/td/mtproto/TlsInit.h
index f5183cf01..149788574 100644
--- a/td/mtproto/TlsInit.h
+++ b/td/mtproto/TlsInit.h
@@ -10,6 +10,7 @@
#include "td/actor/actor.h"
+#include "td/utils/common.h"
#include "td/utils/port/IPAddress.h"
#include "td/utils/port/SocketFd.h"
#include "td/utils/Slice.h"
diff --git a/td/telegram/TdDb.h b/td/telegram/TdDb.h
index b38adbaeb..f3670b429 100644
--- a/td/telegram/TdDb.h
+++ b/td/telegram/TdDb.h
@@ -11,6 +11,7 @@
#include "td/db/DbKey.h"
#include "td/db/KeyValueSyncInterface.h"
+#include "td/utils/common.h"
#include "td/utils/Promise.h"
#include "td/utils/Slice.h"
#include "td/utils/Status.h"
diff --git a/td/telegram/files/FileGenerateManager.h b/td/telegram/files/FileGenerateManager.h
index 8eb6685a5..2dffbac1b 100644
--- a/td/telegram/files/FileGenerateManager.h
+++ b/td/telegram/files/FileGenerateManager.h
@@ -10,6 +10,7 @@
#include "td/actor/actor.h"
+#include "td/utils/common.h"
#include "td/utils/Promise.h"
#include "td/utils/Status.h"
diff --git a/td/telegram/files/FileLoader.h b/td/telegram/files/FileLoader.h
index c4ede47e1..d4d3aba80 100644
--- a/td/telegram/files/FileLoader.h
+++ b/td/telegram/files/FileLoader.h
@@ -16,6 +16,7 @@
#include "td/actor/actor.h"
+#include "td/utils/common.h"
#include "td/utils/OrderedEventsProcessor.h"
#include "td/utils/Status.h"
diff --git a/td/telegram/files/FileStatsWorker.cpp b/td/telegram/files/FileStatsWorker.cpp
index b16305bba..b651857e0 100644
--- a/td/telegram/files/FileStatsWorker.cpp
+++ b/td/telegram/files/FileStatsWorker.cpp
@@ -18,6 +18,7 @@
#include "td/db/SqliteKeyValue.h"
+#include "td/utils/common.h"
#include "td/utils/format.h"
#include "td/utils/HashTableUtils.h"
#include "td/utils/logging.h"
diff --git a/td/telegram/files/FileUploader.h b/td/telegram/files/FileUploader.h
index 231ba3930..20408cc44 100644
--- a/td/telegram/files/FileUploader.h
+++ b/td/telegram/files/FileUploader.h
@@ -11,6 +11,7 @@
#include "td/telegram/files/FileLocation.h"
#include "td/telegram/files/FileType.h"
+#include "td/utils/common.h"
#include "td/utils/port/FileFd.h"
#include "td/utils/Status.h"
#include "td/utils/UInt.h"
diff --git a/td/telegram/files/ResourceManager.h b/td/telegram/files/ResourceManager.h
index c2c880d33..6472b59f3 100644
--- a/td/telegram/files/ResourceManager.h
+++ b/td/telegram/files/ResourceManager.h
@@ -11,6 +11,7 @@
#include "td/actor/actor.h"
+#include "td/utils/common.h"
#include "td/utils/Container.h"
#include "td/utils/Heap.h"
diff --git a/td/telegram/net/DcOptionsSet.h b/td/telegram/net/DcOptionsSet.h
index 430373055..29fe20669 100644
--- a/td/telegram/net/DcOptionsSet.h
+++ b/td/telegram/net/DcOptionsSet.h
@@ -9,6 +9,7 @@
#include "td/telegram/net/DcId.h"
#include "td/telegram/net/DcOptions.h"
+#include "td/utils/common.h"
#include "td/utils/Container.h"
#include "td/utils/port/IPAddress.h"
#include "td/utils/Status.h"
diff --git a/td/telegram/net/MtprotoHeader.cpp b/td/telegram/net/MtprotoHeader.cpp
index 83537fc13..b1cc21b41 100644
--- a/td/telegram/net/MtprotoHeader.cpp
+++ b/td/telegram/net/MtprotoHeader.cpp
@@ -13,6 +13,7 @@
#include "td/tl/tl_object_store.h"
+#include "td/utils/Slice.h"
#include "td/utils/tl_helpers.h"
namespace td {
diff --git a/td/telegram/net/NetQueryCreator.h b/td/telegram/net/NetQueryCreator.h
index 64ce914e6..161b83804 100644
--- a/td/telegram/net/NetQueryCreator.h
+++ b/td/telegram/net/NetQueryCreator.h
@@ -12,6 +12,7 @@
#include "td/telegram/net/NetQueryStats.h"
#include "td/telegram/UniqueId.h"
+#include "td/utils/common.h"
#include "td/utils/ObjectPool.h"
#include <memory>
diff --git a/td/telegram/net/NetStatsManager.h b/td/telegram/net/NetStatsManager.h
index 2ff80f553..0f3461009 100644
--- a/td/telegram/net/NetStatsManager.h
+++ b/td/telegram/net/NetStatsManager.h
@@ -14,6 +14,7 @@
#include "td/actor/actor.h"
+#include "td/utils/common.h"
#include "td/utils/Promise.h"
#include "td/utils/Slice.h"
diff --git a/td/telegram/net/SessionProxy.h b/td/telegram/net/SessionProxy.h
index a3af19cfa..af11c0158 100644
--- a/td/telegram/net/SessionProxy.h
+++ b/td/telegram/net/SessionProxy.h
@@ -15,6 +15,8 @@
#include "td/actor/actor.h"
+#include "td/utils/common.h"
+
#include <memory>
namespace td {
diff --git a/tdactor/td/actor/impl/Actor-decl.h b/tdactor/td/actor/impl/Actor-decl.h
index 4aca52d8a..50bf441d2 100644
--- a/tdactor/td/actor/impl/Actor-decl.h
+++ b/tdactor/td/actor/impl/Actor-decl.h
@@ -10,6 +10,7 @@
#include "td/actor/impl/ActorInfo-decl.h"
#include "td/actor/impl/Event.h"
+#include "td/utils/common.h"
#include "td/utils/ObjectPool.h"
#include "td/utils/Observer.h"
#include "td/utils/Slice.h"
diff --git a/tddb/td/db/SqliteDb.h b/tddb/td/db/SqliteDb.h
index be4efb704..ec7178c2d 100644
--- a/tddb/td/db/SqliteDb.h
+++ b/tddb/td/db/SqliteDb.h
@@ -11,6 +11,7 @@
#include "td/db/detail/RawSqliteDb.h"
+#include "td/utils/common.h"
#include "td/utils/optional.h"
#include "td/utils/Slice.h"
#include "td/utils/Status.h"
diff --git a/tddb/td/db/SqliteKeyValueSafe.h b/tddb/td/db/SqliteKeyValueSafe.h
index 960851467..a3f79dd3d 100644
--- a/tddb/td/db/SqliteKeyValueSafe.h
+++ b/tddb/td/db/SqliteKeyValueSafe.h
@@ -11,6 +11,8 @@
#include "td/actor/SchedulerLocalStorage.h"
+#include "td/utils/common.h"
+
#include <memory>
namespace td {
diff --git a/tddb/td/db/TsSeqKeyValue.h b/tddb/td/db/TsSeqKeyValue.h
index ec56b9738..18b5930f0 100644
--- a/tddb/td/db/TsSeqKeyValue.h
+++ b/tddb/td/db/TsSeqKeyValue.h
@@ -8,6 +8,7 @@
#include "td/db/SeqKeyValue.h"
+#include "td/utils/common.h"
#include "td/utils/FlatHashMap.h"
#include "td/utils/port/RwMutex.h"
#include "td/utils/Slice.h"
diff --git a/tdnet/td/net/GetHostByNameActor.h b/tdnet/td/net/GetHostByNameActor.h
index 7cc61f248..4b0241f95 100644
--- a/tdnet/td/net/GetHostByNameActor.h
+++ b/tdnet/td/net/GetHostByNameActor.h
@@ -8,6 +8,7 @@
#include "td/actor/actor.h"
+#include "td/utils/common.h"
#include "td/utils/FlatHashMap.h"
#include "td/utils/logging.h"
#include "td/utils/port/IPAddress.h"
diff --git a/tdnet/td/net/TcpListener.h b/tdnet/td/net/TcpListener.h
index 9df31ca3e..bb8e09ed0 100644
--- a/tdnet/td/net/TcpListener.h
+++ b/tdnet/td/net/TcpListener.h
@@ -8,6 +8,7 @@
#include "td/actor/actor.h"
+#include "td/utils/common.h"
#include "td/utils/port/ServerSocketFd.h"
#include "td/utils/port/SocketFd.h"
#include "td/utils/Slice.h"
diff --git a/tdutils/td/utils/Timer.h b/tdutils/td/utils/Timer.h
index a2a7d2b80..f6243ded9 100644
--- a/tdutils/td/utils/Timer.h
+++ b/tdutils/td/utils/Timer.h
@@ -6,6 +6,7 @@
//
#pragma once
+#include "td/utils/common.h"
#include "td/utils/StringBuilder.h"
namespace td {
diff --git a/tdutils/td/utils/filesystem.h b/tdutils/td/utils/filesystem.h
index c1d232026..f036674f7 100644
--- a/tdutils/td/utils/filesystem.h
+++ b/tdutils/td/utils/filesystem.h
@@ -7,6 +7,7 @@
#pragma once
#include "td/utils/buffer.h"
+#include "td/utils/common.h"
#include "td/utils/SharedSlice.h"
#include "td/utils/Slice.h"
#include "td/utils/Status.h"