Grovel timeval and timespec struct definitions rather than hard-coding.