add headers for select()
This commit is contained in:
parent
d9a5620f80
commit
e44d7697e5
1 changed files with 9 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue