summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/setresuid.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/setresuid.c')
-rw-r--r--libc/sysdeps/linux/common/setresuid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/setresuid.c b/libc/sysdeps/linux/common/setresuid.c
index 7e23774ac..dd1915706 100644
--- a/libc/sysdeps/linux/common/setresuid.c
+++ b/libc/sysdeps/linux/common/setresuid.c
@@ -10,7 +10,7 @@
#include "syscalls.h"
#include <unistd.h>
-#ifdef __NR_setresuid
+#if defined __NR_setresuid && defined __USE_GNU
libc_hidden_proto(setresuid)
#define __NR___syscall_setresuid __NR_setresuid