all repos — fluxbox @ c5d1f0239de2c292c7f1ac6dcd1cc90fbb56c876

custom fork of the fluxbox windowmanager

removed include BaseDisplay.hh and fixed include unistd.h
fluxgen fluxgen
commit

c5d1f0239de2c292c7f1ac6dcd1cc90fbb56c876

parent

10d6e7a35822b6ccd5a717581edad254dea20972

1 files changed, 4 insertions(+), 4 deletions(-)

jump to
M src/Timer.ccsrc/Timer.cc

@@ -19,8 +19,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// stupid macros needed to access some functions in version 2 of the GNU C -// library +//use GNU extensions #ifndef _GNU_SOURCE # define _GNU_SOURCE #endif // _GNU_SOURCE

@@ -29,15 +28,16 @@ #ifdef HAVE_CONFIG_H

# include "../config.h" #endif // HAVE_CONFIG_H -#include "BaseDisplay.hh" #include "Timer.hh" +#include <sys/types.h> +#include <unistd.h> //static var BTimer::TimerList BTimer::m_timerlist; BTimer::BTimer(TimeoutHandler *h): m_handler(h), -m_timing(false) , +m_timing(false), m_once(false) { }