all repos — openbox @ e44d7697e56a32bafefe25e87feb67a5c29ce7ad

openbox fork - make it a bit more like ryudo

add headers for select()
Dana Jansens danakj@orodu.net
commit

e44d7697e56a32bafefe25e87feb67a5c29ce7ad

parent

d9a5620f805d99738adc4cacdce9077f74574466

1 files changed, 9 insertions(+), 0 deletions(-)

jump to
M otk/timer.ccotk/timer.cc

@@ -7,6 +7,15 @@

#include "timer.hh" #include "display.hh" +#ifdef HAVE_SYS_SELECT_H +# include <sys/select.h> +#else +# ifdef HAVE_UNISTD_H +# include <sys/types.h> +# include <unistd.h> +# endif // HAVE_UNISTD_H +#endif // HAVE_SYS_SELECT_H + namespace otk { timeval Timer::_nearest_timeout, Timer::_now;