diff options
Diffstat (limited to 'src/shared/util.h')
-rw-r--r-- | src/shared/util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/util.h b/src/shared/util.h index 31103e957f..3b3035a1c7 100644 --- a/src/shared/util.h +++ b/src/shared/util.h @@ -1074,3 +1074,5 @@ int same_fd(int a, int b); int chattr_fd(int fd, bool b, int mask); int chattr_path(const char *p, bool b, int mask); + +#define RLIMIT_MAKE_CONST(lim) ((struct rlimit) { lim, lim }) |