diff options
author | pastalian <28638872+pastalian@users.noreply.github.com> | 2024-06-16 05:47:48 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-15 16:47:48 -0400 |
commit | bc7c5f9ec3f1f19517a556a4c4f9e830ca191c32 (patch) | |
tree | 13389c5371b2e1fbbab01a0fdec71e53c982bf1c /src | |
parent | e6b4871df3c0642d6feaf5fea4626973653bf36c (diff) | |
download | abaddon-portaudio-bc7c5f9ec3f1f19517a556a4c4f9e830ca191c32.tar.gz abaddon-portaudio-bc7c5f9ec3f1f19517a556a4c4f9e830ca191c32.zip |
Explicitly include headers for PCH free build (#312)
There are some headers that implicitly included by PCH. Include those
explicitly so PCH free build succeeds.
Diffstat (limited to 'src')
-rw-r--r-- | src/components/channellist/classic/guildlist.cpp | 2 | ||||
-rw-r--r-- | src/components/channellist/classic/mentionoverlay.hpp | 2 | ||||
-rw-r--r-- | src/misc/cairo.cpp | 2 | ||||
-rw-r--r-- | src/misc/cairo.hpp | 2 | ||||
-rw-r--r-- | src/platform.cpp | 3 |
5 files changed, 9 insertions, 2 deletions
diff --git a/src/components/channellist/classic/guildlist.cpp b/src/components/channellist/classic/guildlist.cpp index fdc15f9..11a6775 100644 --- a/src/components/channellist/classic/guildlist.cpp +++ b/src/components/channellist/classic/guildlist.cpp @@ -1,3 +1,5 @@ +#include <gtkmm/overlay.h> + #include "guildlist.hpp" #include "abaddon.hpp" diff --git a/src/components/channellist/classic/mentionoverlay.hpp b/src/components/channellist/classic/mentionoverlay.hpp index ceb4f01..7c168c2 100644 --- a/src/components/channellist/classic/mentionoverlay.hpp +++ b/src/components/channellist/classic/mentionoverlay.hpp @@ -1,5 +1,7 @@ #pragma once +#include <set> + #include <gtkmm/drawingarea.h> #include <pangomm/fontdescription.h> diff --git a/src/misc/cairo.cpp b/src/misc/cairo.cpp index 1272f75..a1c6220 100644 --- a/src/misc/cairo.cpp +++ b/src/misc/cairo.cpp @@ -1,7 +1,5 @@ #include "cairo.hpp" -#include <cairomm/context.h> - constexpr static double M_PI_H = M_PI / 2.0; constexpr static double M_PI_3_2 = M_PI * 3.0 / 2.0; diff --git a/src/misc/cairo.hpp b/src/misc/cairo.hpp index b66fa34..37c71d6 100644 --- a/src/misc/cairo.hpp +++ b/src/misc/cairo.hpp @@ -1,5 +1,7 @@ #pragma once +#include <cairomm/context.h> + namespace CairoUtil { void PathRoundedRect(const Cairo::RefPtr<Cairo::Context> &cr, double x, double y, double w, double h, double r); } // namespace CairoUtil diff --git a/src/platform.cpp b/src/platform.cpp index ce0ac74..726655b 100644 --- a/src/platform.cpp +++ b/src/platform.cpp @@ -7,6 +7,9 @@ #ifdef __APPLE__ #include <unistd.h> #endif +#ifdef __linux__ + #include "util.hpp" +#endif #include <spdlog/spdlog.h> |