diff options
Diffstat (limited to 'src/btop_shared.cpp')
-rw-r--r-- | src/btop_shared.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/btop_shared.cpp b/src/btop_shared.cpp index bb7a9f6..b2f70a8 100644 --- a/src/btop_shared.cpp +++ b/src/btop_shared.cpp @@ -24,6 +24,7 @@ tab-size = 4 namespace rng = std::ranges; using namespace Tools; +#ifdef GPU_SUPPORT namespace Gpu { vector<string> gpu_names; vector<int> gpu_b_height_offsets; @@ -34,6 +35,7 @@ namespace Gpu { }; long long gpu_pwr_total_max; } +#endif namespace Proc { void proc_sorter(vector<proc_info>& proc_vec, const string& sorting, bool reverse, bool tree) { |