about summary refs log tree commit diff
path: root/src/linux/prlimit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/linux/prlimit.c')
-rw-r--r--src/linux/prlimit.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/linux/prlimit.c b/src/linux/prlimit.c
index 0fe28e10..3df9ffba 100644
--- a/src/linux/prlimit.c
+++ b/src/linux/prlimit.c
@@ -1,7 +1,6 @@
 #define _GNU_SOURCE
 #include <sys/resource.h>
 #include "syscall.h"
-#include "libc.h"
 
 #define FIX(x) do{ if ((x)>=SYSCALL_RLIM_INFINITY) (x)=RLIM_INFINITY; }while(0)
 
@@ -24,4 +23,4 @@ int prlimit(pid_t pid, int resource, const struct rlimit *new_limit, struct rlim
 }
 
 #undef prlimit64
-LFS64(prlimit);
+weak_alias(prlimit, prlimit64);