summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/ulimit.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/ulimit.c')
-rw-r--r--libc/sysdeps/linux/common/ulimit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/ulimit.c b/libc/sysdeps/linux/common/ulimit.c
index 75d7a8237..6f0278f60 100644
--- a/libc/sysdeps/linux/common/ulimit.c
+++ b/libc/sysdeps/linux/common/ulimit.c
@@ -9,7 +9,8 @@
#ifdef __NR_ulimit
-_syscall2(long, ulimit, int, cmd, int, arg);
+extern long int ulimit(int cmd, long arg);
+_syscall2(long, ulimit, int, cmd, long, arg);
#else