aboutsummaryrefslogtreecommitdiff
path: root/system/include/libc/sched.h
diff options
context:
space:
mode:
Diffstat (limited to 'system/include/libc/sched.h')
-rw-r--r--system/include/libc/sched.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/include/libc/sched.h b/system/include/libc/sched.h
index a3f58ac9..13586878 100644
--- a/system/include/libc/sched.h
+++ b/system/include/libc/sched.h
@@ -81,7 +81,7 @@ int sched_rr_get_interval(
);
#endif /* _POSIX_PRIORITY_SCHEDULING */
-#if defined(_POSIX_THREADS) || defined(_POSIX_PRIORITY_SCHEDULING)
+#if defined(_POSIX_THREADS) || defined(_POSIX_PRIORITY_SCHEDULING) || defined(EMSCRIPTEN)
/*
* XBD 13 - Yield Processor, P1003.1b-2008, p. 1807