Skip to content
This repository was archived by the owner on Jul 29, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions libc/include/sched.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,14 @@ __BEGIN_DECLS
* See sched_getparam()/sched_setparam() and
* sched_getscheduler()/sched_setscheduler().
*/
#ifndef __SCHED_PARAM_DEFINED
#define __SCHED_PARAM_DEFINED
#ifndef _LINUX_SCHED_TYPES_H
struct sched_param {
int sched_priority;
};
#endif
#endif

/**
* [sched_setscheduler(2)](https://man7.org/linux/man-pages/man2/sched_setscheduler.2.html)
Expand Down