From 517d56b1d0f67dcf76710bc1e17b05518b8cabe6 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 5 Mar 2014 02:29:58 +0100 Subject: missing: if RLIMIT_RTTIME is not defined by the libc, then we need a new define for the max number of rlimits, too --- src/core/manager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/manager.h') diff --git a/src/core/manager.h b/src/core/manager.h index 92985caefb..e014abd04f 100644 --- a/src/core/manager.h +++ b/src/core/manager.h @@ -228,7 +228,7 @@ struct Manager { bool default_memory_accounting; bool default_blockio_accounting; - struct rlimit *rlimit[RLIMIT_NLIMITS]; + struct rlimit *rlimit[_RLIMIT_MAX]; /* non-zero if we are reloading or reexecuting, */ int n_reloading; -- cgit v1.2.3-54-g00ecf