diff options
author | root <root> | 2008-06-29 22:32:51 +0000 |
---|---|---|
committer | root <root> | 2008-06-29 22:32:51 +0000 |
commit | be8f9e9290ed05cbe31b799ab2a9d64c516e73bf (patch) | |
tree | fe548f379c71f913ed5a08e3c3ad3aceaa4d1649 /ev.c | |
parent | 9132285ac7dc920f58967ab756644f68650c8f76 (diff) |
*** empty log message ***
Diffstat (limited to 'ev.c')
-rw-r--r-- | ev.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -567,6 +567,9 @@ ev_sleep (ev_tstamp delay) tv.tv_sec = (time_t)delay; tv.tv_usec = (long)((delay - (ev_tstamp)(tv.tv_sec)) * 1e6); + /* here we rely on sys/time.h + sys/types.h + unistd.h providing select */ + /* somehting nto guaranteed by newer posix versions, but guaranteed */ + /* by older ones */ select (0, 0, 0, 0, &tv); #endif } |