diff --git a/libc/include/sched.h b/libc/include/sched.h index fba6514e9..7649e83d2 100644 --- a/libc/include/sched.h +++ b/libc/include/sched.h @@ -39,8 +39,9 @@ __BEGIN_DECLS #define SCHED_OTHER SCHED_NORMAL struct sched_param { - int sched_priority; + int __sched_priority; }; +#define sched_priority __sched_priority extern int sched_setscheduler(pid_t, int, const struct sched_param*); extern int sched_getscheduler(pid_t);