diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/i386/getrlimit.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/i386/getrlimit.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/getrlimit.c b/sysdeps/unix/sysv/linux/i386/getrlimit.c index 33d011a72c..765c21de04 100644 --- a/sysdeps/unix/sysv/linux/i386/getrlimit.c +++ b/sysdeps/unix/sysv/linux/i386/getrlimit.c @@ -31,6 +31,10 @@ extern int __syscall_ugetrlimit (unsigned int resource, extern int __syscall_getrlimit (unsigned int resource, struct rlimit *__unbounded rlimits); +extern int __new_getrlimit (enum __rlimit_resource resource, + struct rlimit *__unbounded rlimits); + + /* Linux 2.3.25 introduced a new system call since the types used for the limits are now unsigned. */ #if defined __NR_ugetrlimit && !defined __ASSUME_NEW_GETRLIMIT_SYSCALL |