--- rxvt-unicode/src/iom.C 2004/02/01 01:34:41 1.13 +++ rxvt-unicode/src/iom.C 2004/03/28 02:07:08 1.15 @@ -23,7 +23,7 @@ #include -#if 1 // older unices need these includes for select(2) +#if 1 // older unices need these includes for select (2) # include # include #endif @@ -51,7 +51,7 @@ abort (); } - tw0() + tw0 () : time_watcher (this, &tw0::cb) { }} tw0; @@ -168,7 +168,7 @@ { double diff = next->at - NOW; tval.tv_sec = (int)diff; - tval.tv_usec = (int)((diff - tval.tv_sec) * 1000000); + tval.tv_usec = (int) ((diff - tval.tv_sec) * 1000000); to = &tval; } break; @@ -201,7 +201,7 @@ #endif #if IOM_IO - fd_set rfd, wfd, efd; + fd_set rfd, wfd; FD_ZERO (&rfd); FD_ZERO (&wfd); @@ -220,7 +220,7 @@ if (!to && !fds) //TODO: also check idle_watchers and check_watchers break; // no events - fds = select (fds, &rfd, &wfd, &efd, to); + fds = select (fds, &rfd, &wfd, NULL, to); # if IOM_TIME set_now (); # endif