I just noticed in version 2.0.0 in /usr/include/sched.h:
extern int sched_get_priority_max __P((int __policy)); extern int sched_get_priority_min _P((int __policy)); ^^^ Should be __P extern int sched_rr_get_interval __P((pid_t __pid, struct timespec *interval));
I changed the _P to __P and things worked again...