diff options
author | Leah Neukirchen <leah@vuxu.org> | 2020-01-11 20:16:59 +0100 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2020-01-11 21:10:41 -0500 |
commit | 2507e7f5312e79620f6337935d0a6c9045ccba09 (patch) | |
tree | a4d3c328a5ec4b53f0e5622c7c395abf24673669 | |
parent | 70d80609558153a996833392999c69cdb74e1119 (diff) | |
download | musl-2507e7f5312e79620f6337935d0a6c9045ccba09.tar.gz musl-2507e7f5312e79620f6337935d0a6c9045ccba09.tar.xz musl-2507e7f5312e79620f6337935d0a6c9045ccba09.zip |
define RLIMIT_RTTIME, bump RLIMIT_NLIMITS
This macro exists since Linux 2.6.25 and is defined in glibc since 2011.
-rw-r--r-- | include/sys/resource.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sys/resource.h b/include/sys/resource.h index e0c86ae3..3068328d 100644 --- a/include/sys/resource.h +++ b/include/sys/resource.h @@ -90,7 +90,8 @@ int prlimit(pid_t, int, const struct rlimit *, struct rlimit *); #define RLIMIT_MSGQUEUE 12 #define RLIMIT_NICE 13 #define RLIMIT_RTPRIO 14 -#define RLIMIT_NLIMITS 15 +#define RLIMIT_RTTIME 15 +#define RLIMIT_NLIMITS 16 #define RLIM_NLIMITS RLIMIT_NLIMITS |