]> Dogcows Code - chaz/openbox/commitdiff
add headers for select()
authorDana Jansens <danakj@orodu.net>
Wed, 15 Jan 2003 03:17:46 +0000 (03:17 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 15 Jan 2003 03:17:46 +0000 (03:17 +0000)
otk/timer.cc

index 2d36c7a05e8c476839711e5b9e3537212712568c..755096b84cf9c564460fc368b4a3b96604e0c7a8 100644 (file)
@@ -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;
This page took 0.02293 seconds and 4 git commands to generate.