aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorVaxry <[email protected]>2024-12-05 19:35:50 +0000
committerVaxry <[email protected]>2024-12-05 19:35:50 +0000
commita7a6eedc2139564abc1fe09feee1ff32b53e1081 (patch)
treef4677d1ee6c254ee10db5b676f4c12354e79aec3
parent888bdf4e23655d014b22da44f1235b2a045615a9 (diff)
downloadHyprland-a7a6eedc2139564abc1fe09feee1ff32b53e1081.tar.gz
Hyprland-a7a6eedc2139564abc1fe09feee1ff32b53e1081.zip
core: move version include to hyprctl
-rw-r--r--src/debug/HyprCtl.cpp1
-rw-r--r--src/macros.hpp2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/debug/HyprCtl.cpp b/src/debug/HyprCtl.cpp
index aa14c76c..16b03386 100644
--- a/src/debug/HyprCtl.cpp
+++ b/src/debug/HyprCtl.cpp
@@ -39,6 +39,7 @@ using namespace Hyprutils::String;
#include "debug/RollingLogFollow.hpp"
#include "config/ConfigManager.hpp"
#include "helpers/MiscFunctions.hpp"
+#include "../version.h"
static void trimTrailingComma(std::string& str) {
if (!str.empty() && str.back() == ',')
diff --git a/src/macros.hpp b/src/macros.hpp
index 8915e12d..4a319569 100644
--- a/src/macros.hpp
+++ b/src/macros.hpp
@@ -16,8 +16,6 @@
#define ISDEBUG false
#endif
-#include "version.h"
-
#define SPECIAL_WORKSPACE_START (-99)
#define PI 3.14159265358979