diff --git a/td/telegram/TdDb.cpp b/td/telegram/TdDb.cpp index f4a0be394..60dec7846 100644 --- a/td/telegram/TdDb.cpp +++ b/td/telegram/TdDb.cpp @@ -15,6 +15,7 @@ #include "td/actor/MultiPromise.h" +#include "td/db/binlog/Binlog.h" #include "td/db/binlog/ConcurrentBinlog.h" #include "td/db/BinlogKeyValue.h" #include "td/db/SqliteKeyValue.h" diff --git a/td/telegram/TdDb.h b/td/telegram/TdDb.h index be2ff1bbb..0faa6a770 100644 --- a/td/telegram/TdDb.h +++ b/td/telegram/TdDb.h @@ -8,7 +8,6 @@ #include "td/telegram/TdParameters.h" -#include "td/db/binlog/Binlog.h" #include "td/db/binlog/BinlogInterface.h" #include "td/db/binlog/BinlogEvent.h" #include "td/db/DbKey.h" @@ -24,6 +23,7 @@ namespace td { +class Binlog; template class BinlogKeyValue; class ConcurrentBinlog;