summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/seteuid.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/seteuid.c')
-rw-r--r--libc/sysdeps/linux/common/seteuid.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/seteuid.c b/libc/sysdeps/linux/common/seteuid.c
index 35a68334d..5a6e9a25a 100644
--- a/libc/sysdeps/linux/common/seteuid.c
+++ b/libc/sysdeps/linux/common/seteuid.c
@@ -11,6 +11,11 @@
#include <sys/types.h>
#include <sys/syscall.h>
+#if !defined __UCLIBC_LINUX_SPECIFIC__
+#undef __NR_setresuid
+#undef __NR_setresuid32
+#endif
+
libc_hidden_proto(seteuid)
#if (defined __NR_setresuid || defined __NR_setresuid32) && defined __USE_GNU