From 45a3219944f03ece5742b6aecb79b6dc7c9ac0bb Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 13 Apr 2011 13:22:19 -0400 Subject: [PATCH] fix typos on RLIM_NLIMITS, remove _GNU_SOURCE test for it RLIM_* is in the reserved namespace for this header --- include/sys/resource.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/sys/resource.h b/include/sys/resource.h index 42febc0a..7837adb3 100644 --- a/include/sys/resource.h +++ b/include/sys/resource.h @@ -73,9 +73,7 @@ int setpriority (int, id_t, int); #define RLIMIT_RTPRIO 14 #define RLIMIT_NLIMITS 15 -#ifdef _GNU_SOURCE -#define RLIMT_NLIMIT RLIMIT_NLIMITS -#endif +#define RLIM_NLIMITS RLIMIT_NLIMITS #endif -- 2.25.1