summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/helpers/Region.cpp2
-rw-r--r--src/helpers/VarList.cpp1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/helpers/Region.cpp b/src/helpers/Region.cpp
index e2db4664..5515e71e 100644
--- a/src/helpers/Region.cpp
+++ b/src/helpers/Region.cpp
@@ -1,6 +1,8 @@
#include "Region.hpp"
+extern "C" {
#include <wlr/util/box.h>
#include <wlr/util/region.h>
+}
CRegion::CRegion() {
pixman_region32_init(&m_rRegion);
diff --git a/src/helpers/VarList.cpp b/src/helpers/VarList.cpp
index c29a1e96..780ea9a0 100644
--- a/src/helpers/VarList.cpp
+++ b/src/helpers/VarList.cpp
@@ -1,3 +1,4 @@
+#include "MiscFunctions.hpp"
#include "VarList.hpp"
#include <ranges>
#include <algorithm>