summaryrefslogtreecommitdiff
path: root/gui-wm/hyprland/files/hyprland-0.31.0-fix-log-headers.patch
blob: 7abd8164c9b4abecb8d34a47ab4a16da0b673b1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
From 5dd0637e90efa17e391b67934998936194701d08 Mon Sep 17 00:00:00 2001
From: memchr <memchr@proton.me>
Date: Mon, 16 Oct 2023 16:22:01 +0000
Subject: [PATCH] fix(build): do not include wlr headers directly, use
 includes.hpp instead.

---
 src/debug/Log.hpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/debug/Log.hpp b/src/debug/Log.hpp
index 125ed7f45d..085465c911 100644
--- a/src/debug/Log.hpp
+++ b/src/debug/Log.hpp
@@ -1,10 +1,10 @@
 #pragma once
 #include <string>
-#include <wlr/util/log.h>
 #include <format>
 #include <iostream>
 #include <fstream>
 #include <chrono>
+#include "../includes.hpp"
 #include "../helpers/MiscFunctions.hpp"
 
 #define LOGMESSAGESIZE 1024
@@ -79,4 +79,4 @@ namespace Debug {
     }
 
     void wlrLog(wlr_log_importance level, const char* fmt, va_list args);
-};
\ No newline at end of file
+};