From e44d7697e56a32bafefe25e87feb67a5c29ce7ad Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 15 Jan 2003 03:17:46 +0000 Subject: [PATCH] add headers for select() --- otk/timer.cc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/otk/timer.cc b/otk/timer.cc index 2d36c7a0..755096b8 100644 --- a/otk/timer.cc +++ b/otk/timer.cc @@ -7,6 +7,15 @@ #include "timer.hh" #include "display.hh" +#ifdef HAVE_SYS_SELECT_H +# include +#else +# ifdef HAVE_UNISTD_H +# include +# include +# endif // HAVE_UNISTD_H +#endif // HAVE_SYS_SELECT_H + namespace otk { timeval Timer::_nearest_timeout, Timer::_now; -- 2.45.2