diff options
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/FileManager.cpp | 1 | ||||
-rw-r--r-- | src/plugins/Lbry.cpp | 1 | ||||
-rw-r--r-- | src/plugins/LocalAnime.cpp | 1 | ||||
-rw-r--r-- | src/plugins/LocalManga.cpp | 1 | ||||
-rw-r--r-- | src/plugins/MangaCombined.cpp | 1 | ||||
-rw-r--r-- | src/plugins/Mangadex.cpp | 1 | ||||
-rw-r--r-- | src/plugins/Matrix.cpp | 1 | ||||
-rw-r--r-- | src/plugins/Page.cpp | 1 | ||||
-rw-r--r-- | src/plugins/Peertube.cpp | 1 | ||||
-rw-r--r-- | src/plugins/Youtube.cpp | 1 |
10 files changed, 10 insertions, 0 deletions
diff --git a/src/plugins/FileManager.cpp b/src/plugins/FileManager.cpp index 7508776..ba0fcfd 100644 --- a/src/plugins/FileManager.cpp +++ b/src/plugins/FileManager.cpp @@ -5,6 +5,7 @@ #include "../../include/Config.hpp" #include "../../include/Storage.hpp" #include "../../include/QuickMedia.hpp" +#include <algorithm> namespace QuickMedia { static bool last_accessed_dir_loaded = false; diff --git a/src/plugins/Lbry.cpp b/src/plugins/Lbry.cpp index 38b6238..5d611fd 100644 --- a/src/plugins/Lbry.cpp +++ b/src/plugins/Lbry.cpp @@ -2,6 +2,7 @@ #include "../../include/Notification.hpp" #include "../../include/StringUtils.hpp" #include "../../include/Theme.hpp" +#include <algorithm> #include <json/value.h> #include <json/writer.h> diff --git a/src/plugins/LocalAnime.cpp b/src/plugins/LocalAnime.cpp index 8ab9454..bab662b 100644 --- a/src/plugins/LocalAnime.cpp +++ b/src/plugins/LocalAnime.cpp @@ -11,6 +11,7 @@ #include <mglpp/window/Window.hpp> #include <json/value.h> #include <math.h> +#include <algorithm> namespace QuickMedia { static const mgl::Color finished_watching_color = mgl::Color(43, 255, 47); diff --git a/src/plugins/LocalManga.cpp b/src/plugins/LocalManga.cpp index 3bb3c93..fa0df27 100644 --- a/src/plugins/LocalManga.cpp +++ b/src/plugins/LocalManga.cpp @@ -8,6 +8,7 @@ #include "../../include/QuickMedia.hpp" #include <json/value.h> #include <dirent.h> +#include <algorithm> // TODO: Make thumbnail paths in history and thumbnail-link relative to local_manga.directory diff --git a/src/plugins/MangaCombined.cpp b/src/plugins/MangaCombined.cpp index ce08b1c..f5bb643 100644 --- a/src/plugins/MangaCombined.cpp +++ b/src/plugins/MangaCombined.cpp @@ -1,4 +1,5 @@ #include "../../plugins/MangaCombined.hpp" +#include <algorithm> namespace QuickMedia { static const int SEARCH_TIMEOUT_MILLISECONDS = 5000; diff --git a/src/plugins/Mangadex.cpp b/src/plugins/Mangadex.cpp index 4b5745f..b8d4f1e 100644 --- a/src/plugins/Mangadex.cpp +++ b/src/plugins/Mangadex.cpp @@ -2,6 +2,7 @@ #include "../../include/Utils.hpp" #include "../../include/Theme.hpp" #include "../../include/Config.hpp" +#include <algorithm> #include <json/writer.h> namespace QuickMedia { diff --git a/src/plugins/Matrix.cpp b/src/plugins/Matrix.cpp index 06ed3a0..c4aa076 100644 --- a/src/plugins/Matrix.cpp +++ b/src/plugins/Matrix.cpp @@ -20,6 +20,7 @@ #include <malloc.h> #include "../../include/QuickMedia.hpp" #include <HtmlParser.h> +#include <algorithm> // TODO: Use string assign with string length instead of assigning to c string (which calls strlen) // Show images/videos inline. diff --git a/src/plugins/Page.cpp b/src/plugins/Page.cpp index 0e52ca4..8881555 100644 --- a/src/plugins/Page.cpp +++ b/src/plugins/Page.cpp @@ -3,6 +3,7 @@ #include "../../include/Theme.hpp" #include "../../include/Storage.hpp" #include "../../include/QuickMedia.hpp" +#include <algorithm> #include <json/reader.h> namespace QuickMedia { diff --git a/src/plugins/Peertube.cpp b/src/plugins/Peertube.cpp index 6d55e16..d7667dd 100644 --- a/src/plugins/Peertube.cpp +++ b/src/plugins/Peertube.cpp @@ -4,6 +4,7 @@ #include "../../include/Utils.hpp" #include "../../include/StringUtils.hpp" #include "../../include/Config.hpp" +#include <algorithm> #include <json/value.h> namespace QuickMedia { diff --git a/src/plugins/Youtube.cpp b/src/plugins/Youtube.cpp index 1a29110..2c20f3f 100644 --- a/src/plugins/Youtube.cpp +++ b/src/plugins/Youtube.cpp @@ -12,6 +12,7 @@ #include "../../include/QuickMedia.hpp" #include <optional> #include <json/reader.h> +#include <algorithm> extern "C" { #include <HtmlParser.h> } |