diff options
Diffstat (limited to 'include/sys/resource.h')
-rw-r--r-- | include/sys/resource.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/sys/resource.h b/include/sys/resource.h index cb39923f..4baceb3e 100644 --- a/include/sys/resource.h +++ b/include/sys/resource.h @@ -87,6 +87,12 @@ int prlimit(pid_t, int, const struct rlimit *, struct rlimit *); #define RLIM_NLIMITS RLIMIT_NLIMITS +#ifdef _LARGEFILE64_SOURCE +#define getrlimit64 getrlimit +#define setrlimit64 setrlimit +#define rlimit64 rlimit +#define rlim64_t rlim_t +#endif #ifdef __cplusplus } |