projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9a5620
)
add headers for select()
author
Dana Jansens
<danakj@orodu.net>
Wed, 15 Jan 2003 03:17:46 +0000
(
03:17
+0000)
committer
Dana Jansens
<danakj@orodu.net>
Wed, 15 Jan 2003 03:17:46 +0000
(
03:17
+0000)
otk/timer.cc
patch
|
blob
|
history
diff --git
a/otk/timer.cc
b/otk/timer.cc
index
2d36c7a
..
755096b
100644
(file)
--- a/
otk/timer.cc
+++ b/
otk/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;