summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/components/channellist/classic/guildlist.cpp2
-rw-r--r--src/components/channellist/classic/mentionoverlay.hpp2
-rw-r--r--src/misc/cairo.cpp2
-rw-r--r--src/misc/cairo.hpp2
-rw-r--r--src/platform.cpp3
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>