From c47a0cd812582368e34304cd38400b62d6650d35 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Tue, 19 Jul 2016 15:56:49 +0200 Subject: [PATCH] Conditionalize 'rlimit rttime', not available yet on musl libc Signed-off-by: Joachim Nilsson --- conf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conf.c b/conf.c index 400ff70a..3afb3e48 100644 --- a/conf.c +++ b/conf.c @@ -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 },