From: Rich Felker Date: Wed, 13 Apr 2011 17:22:19 +0000 (-0400) Subject: fix typos on RLIM_NLIMITS, remove _GNU_SOURCE test for it X-Git-Tag: v0.7.9~63 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=45a3219944f03ece5742b6aecb79b6dc7c9ac0bb;p=oweals%2Fmusl.git fix typos on RLIM_NLIMITS, remove _GNU_SOURCE test for it RLIM_* is in the reserved namespace for this header --- 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