aboutsummaryrefslogtreecommitdiff
path: root/toys
diff options
context:
space:
mode:
Diffstat (limited to 'toys')
-rw-r--r--toys/other/chrt.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/toys/other/chrt.c b/toys/other/chrt.c
index aa0a140d..a1c37a05 100644
--- a/toys/other/chrt.c
+++ b/toys/other/chrt.c
@@ -31,6 +31,10 @@ GLOBALS(
long pid;
)
+#ifndef _POSIX_PRIORITY_SCHEDULING
+#warning "musl-libc intentionally broke sched_get_priority_min() and friends in commit 1e21e78bf7a5 because its maintainer didn't like those Linux system calls"
+#endif
+
char *polnames[] = {
"SCHED_OTHER", "SCHED_FIFO", "SCHED_RR", "SCHED_BATCH", 0, "SCHED_IDLE",
"SCHED_DEADLINE"