Inclusion of cstdlib is needed as a build fix for NetBSD and other OSes.
(Example breakage on NetBSD:
CXX EWMH.lo EWMH.cc: In member function 'void bt::EWMH::setStartupId(Window, Window) const':
EWMH.cc:799:41: error: 'getenv' was not declared in this scope if (!(id = getenv("DESKTOP_STARTUP_ID")))
^ EWMH.cc:805:32: error: 'unsetenv' was not declared in this scope
unsetenv("DESKTOP_STARTUP_ID"); ^
*** Error code 1 Stop.
)
Inclusion of cstdlib is needed as a build fix for NetBSD and other OSes.
(Example breakage on NetBSD:
CXX EWMH.lo
EWMH.cc: In member function 'void bt::EWMH::setStartupId(Window, Window) const':EWMH.cc:799:41: error: 'getenv' was not declared in this scope
if (!(id = getenv("DESKTOP_STARTUP_ID")))^
EWMH.cc:805:32: error: 'unsetenv' was not declared in this scopeunsetenv("DESKTOP_STARTUP_ID");
^*** Error code 1
Stop. )