Conditionalize 'rlimit rttime', not available yet on musl libc

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson
2016-07-19 15:56:49 +02:00
parent 67c0d43912
commit c47a0cd812
+2
View File
@@ -169,7 +169,9 @@ static const struct rlimit_name rlimit_names[] = {
{ "nproc", RLIMIT_NPROC },
{ "rss", RLIMIT_RSS },
{ "rtprio", RLIMIT_RTPRIO },
#ifdef RLIMIT_RTTIME
{ "rttime", RLIMIT_RTTIME },
#endif
{ "sigpending", RLIMIT_SIGPENDING },
{ "stack", RLIMIT_STACK },