summaryrefslogtreecommitdiff
path: root/posix/sched.h
diff options
context:
space:
mode:
Diffstat (limited to 'posix/sched.h')
-rw-r--r--posix/sched.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/posix/sched.h b/posix/sched.h
index 619b3b3a81..7c46401f94 100644
--- a/posix/sched.h
+++ b/posix/sched.h
@@ -74,6 +74,15 @@ extern int sched_get_priority_max (int __algorithm) __THROW;
extern int sched_get_priority_min (int __algorithm) __THROW;
/* Get the SCHED_RR interval for the named process. */
+#ifdef __USE_TIME_BITS64
+# if defined(__REDIRECT)
+extern int __REDIRECT (sched_rr_get_interval,
+ (__pid_t __pid, struct timespec *__t),
+ __sched_rr_get_interval_t64) __THROW;
+# else
+# define sched_rr_get_interval __sched_rr_get_interval_t64
+# endif
+#endif
extern int sched_rr_get_interval (__pid_t __pid, struct timespec *__t) __THROW;