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.
This commit is contained in:
pastalian 2024-06-16 05:47:48 +09:00 committed by GitHub
parent e6b4871df3
commit bc7c5f9ec3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,5 @@
#include <gtkmm/overlay.h>
#include "guildlist.hpp"
#include "abaddon.hpp"

View File

@ -1,5 +1,7 @@
#pragma once
#include <set>
#include <gtkmm/drawingarea.h>
#include <pangomm/fontdescription.h>

View File

@ -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;

View File

@ -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

View File

@ -7,6 +7,9 @@
#ifdef __APPLE__
#include <unistd.h>
#endif
#ifdef __linux__
#include "util.hpp"
#endif
#include <spdlog/spdlog.h>