From b6e7c664677ab7c77f183b8c41105f2be519800c Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Thu, 28 May 2015 15:37:23 -0400 Subject: [PATCH] add missing legacy LFS64 macros in sys/resource.h based on patch by Felix Janda, with RLIM64_SAVED_CUR and RLIM64_SAVED_MAX added for completeness. --- include/sys/resource.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/sys/resource.h b/include/sys/resource.h index 58392d64..cc33de74 100644 --- a/include/sys/resource.h +++ b/include/sys/resource.h @@ -96,6 +96,9 @@ int prlimit(pid_t, int, const struct rlimit *, struct rlimit *); #define RLIM_NLIMITS RLIMIT_NLIMITS #if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE) +#define RLIM64_INFINITY RLIM_INFINITY +#define RLIM64_SAVED_CUR RLIM_SAVED_CUR +#define RLIM64_SAVED_MAX RLIM_SAVED_MAX #define getrlimit64 getrlimit #define setrlimit64 setrlimit #define rlimit64 rlimit -- 2.25.1