fix for irix lame compiler
This commit is contained in:
parent
33c91d854d
commit
7c80405943
|
@ -35,7 +35,9 @@ scheme_value sleep_until(int hisecs, int losecs)
|
||||||
int delta = when - now;
|
int delta = when - now;
|
||||||
if( delta > 0 ) {
|
if( delta > 0 ) {
|
||||||
fd_set r, w, e;
|
fd_set r, w, e;
|
||||||
struct timeval tv = { delta, 0 };
|
struct timeval tv;
|
||||||
|
tv.tv_sec = delta;
|
||||||
|
tv.tv_usec = 0;
|
||||||
FD_ZERO(&r);
|
FD_ZERO(&r);
|
||||||
FD_ZERO(&w);
|
FD_ZERO(&w);
|
||||||
FD_ZERO(&e);
|
FD_ZERO(&e);
|
||||||
|
|
Loading…
Reference in New Issue