fix and cleanup suseconds_t/timeval stuff (broken on 64-bit)
trash in the upper 32 bits was making the kernel sleep forever in select on 64-bit systems.
This commit is contained in:
parent
91e836fda7
commit
cac7d837cc
3 changed files with 2 additions and 10 deletions
|
|
@ -6,6 +6,7 @@ extern "C" {
|
|||
|
||||
#define __NEED_size_t
|
||||
#define __NEED_time_t
|
||||
#define __NEED_suseconds_t
|
||||
#define __NEED_struct_timeval
|
||||
#define __NEED_struct_timespec
|
||||
#define __NEED_sigset_t
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue