bbidulock / blackboxwm

A window manager for X11
Other
169 stars 30 forks source link

EWMH.cc needs cstdlib to compile on some OSes #31

Closed dhgutteridge closed 4 years ago

dhgutteridge commented 4 years ago

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. )

bbidulock commented 4 years ago

Thank you!