mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-02 14:26:00 +01:00
config: explicitly use environ(7) after b03c8970e6
(#1708)
src/config/ConfigManager.cpp:40:23: error: use of undeclared identifier 'environ' for (char** env = environ; *env; ++env) { ^
This commit is contained in:
parent
0c8d1ba4a8
commit
7739b776cd
1 changed files with 2 additions and 0 deletions
|
@ -10,6 +10,8 @@
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
|
extern "C" char** environ;
|
||||||
|
|
||||||
CConfigManager::CConfigManager() {
|
CConfigManager::CConfigManager() {
|
||||||
configValues["general:col.active_border"].data = std::make_shared<CGradientValueData>(0xffffffff);
|
configValues["general:col.active_border"].data = std::make_shared<CGradientValueData>(0xffffffff);
|
||||||
configValues["general:col.inactive_border"].data = std::make_shared<CGradientValueData>(0xff444444);
|
configValues["general:col.inactive_border"].data = std::make_shared<CGradientValueData>(0xff444444);
|
||||||
|
|
Loading…
Reference in a new issue