Include all of <time.h> from <sched.h> for older standards (bug 16670).