From a1f902c5bfd5fbeb345c32c5161dc400af80969a Mon Sep 17 00:00:00 2001 From: Berkus Decker Date: Sun, 22 Apr 2018 20:13:42 +0300 Subject: [PATCH] Add missing includes --- Telegram/SourceFiles/app.h | 1 + Telegram/SourceFiles/mainwindow.h | 1 + Telegram/SourceFiles/media/media_clip_reader.h | 1 + Telegram/SourceFiles/platform/mac/main_window_mac.h | 2 ++ Telegram/SourceFiles/ui/text/text.cpp | 1 + 5 files changed, 6 insertions(+) diff --git a/Telegram/SourceFiles/app.h b/Telegram/SourceFiles/app.h index 43cd87348..4a1516610 100644 --- a/Telegram/SourceFiles/app.h +++ b/Telegram/SourceFiles/app.h @@ -23,6 +23,7 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org #include #include +#include "ui/animation.h" #include "core/basic_types.h" #include "history/history.h" #include "history/history_item.h" diff --git a/Telegram/SourceFiles/mainwindow.h b/Telegram/SourceFiles/mainwindow.h index b88ae8951..15e72f466 100644 --- a/Telegram/SourceFiles/mainwindow.h +++ b/Telegram/SourceFiles/mainwindow.h @@ -26,6 +26,7 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org #include #include #include +#include #include "platform/platform_specific.h" #include "platform/platform_main_window.h" #include "core/single_timer.h" diff --git a/Telegram/SourceFiles/media/media_clip_reader.h b/Telegram/SourceFiles/media/media_clip_reader.h index a1ddca537..bc7c70e3e 100644 --- a/Telegram/SourceFiles/media/media_clip_reader.h +++ b/Telegram/SourceFiles/media/media_clip_reader.h @@ -22,6 +22,7 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org #include "storage/localimageloader.h" #include "window/notifications_manager_default.h" +#include "ui/animation.h" class FileLocation; diff --git a/Telegram/SourceFiles/platform/mac/main_window_mac.h b/Telegram/SourceFiles/platform/mac/main_window_mac.h index cf5d99e1c..48fcadc8e 100644 --- a/Telegram/SourceFiles/platform/mac/main_window_mac.h +++ b/Telegram/SourceFiles/platform/mac/main_window_mac.h @@ -20,6 +20,8 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org */ #pragma once +#include + #include "platform/platform_main_window.h" #include "platform/mac/specific_mac_p.h" #include "base/timer.h" diff --git a/Telegram/SourceFiles/ui/text/text.cpp b/Telegram/SourceFiles/ui/text/text.cpp index 59cb93b34..1b899d708 100644 --- a/Telegram/SourceFiles/ui/text/text.cpp +++ b/Telegram/SourceFiles/ui/text/text.cpp @@ -21,6 +21,7 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org #include +#include "app.h" #include "ui/text/text.h" #include "core/utils.h" // makeShared