diff options
Diffstat (limited to '')
-rw-r--r-- | src/miscbltin.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/miscbltin.c b/src/miscbltin.c index 81033e3..3f91bc3 100644 --- a/src/miscbltin.c +++ b/src/miscbltin.c @@ -58,10 +58,6 @@ #undef rflag -#if defined(__GLIBC__) && __GLIBC__ == 2 && __GLIBC_MINOR__ < 1 -typedef enum __rlimit_resource rlim_t; -#endif - /* @@ -276,6 +272,7 @@ umaskcmd(int argc, char **argv) return 0; } +#ifdef HAVE_GETRLIMIT /* * ulimit builtin * @@ -457,3 +454,4 @@ ulimitcmd(int argc, char **argv) } return 0; } +#endif |