add missing rlimit macros

This commit is contained in:
Rich Felker 2011-04-12 11:50:14 -04:00
parent 43b2e9bf26
commit 209f2bbd95
1 changed files with 8 additions and 0 deletions

View File

@ -67,7 +67,15 @@ int setpriority (int, id_t, int);
#define RLIMIT_NPROC 6
#define RLIMIT_MEMLOCK 8
#define RLIMIT_LOCKS 10
#define RLIMIT_SIGPENDING 11
#define RLIMIT_MSGQUEUE 12
#define RLIMIT_NICE 13
#define RLIMIT_RTPRIO 14
#define RLIMIT_NLIMITS 15
#ifdef _GNU_SOURCE
#define RLIMT_NLIMIT RLIMIT_NLIMITS
#endif
#endif