X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=src%2Fcore%2Fmanager.h;h=e014abd04f6e6544ee08bd8a365668f1243f6ab1;hb=26abdc73a212b90f7c4b71808a1028d2e87ab09f;hp=3192b63dfde10762025ff00c8d6530d22e80e5dd;hpb=e66cf1a3f94fff48a572f6dbd19b43c9bcf7b8c7;p=elogind.git diff --git a/src/core/manager.h b/src/core/manager.h index 3192b63df..e014abd04 100644 --- a/src/core/manager.h +++ b/src/core/manager.h @@ -58,6 +58,7 @@ typedef enum ManagerExitCode { #include "execute.h" #include "unit-name.h" #include "exit-status.h" +#include "show-status.h" struct Manager { /* Note that the set of units we know of is allowed to be @@ -227,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;