From a7a6eedc2139564abc1fe09feee1ff32b53e1081 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Thu, 5 Dec 2024 19:35:50 +0000 Subject: core: move version include to hyprctl --- src/debug/HyprCtl.cpp | 1 + src/macros.hpp | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'src') 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 -- cgit v1.2.3