summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/getresuid.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/getresuid.c')
-rw-r--r--libc/sysdeps/linux/common/getresuid.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/getresuid.c b/libc/sysdeps/linux/common/getresuid.c
index 7f0e0f2b0..b8d1788f6 100644
--- a/libc/sysdeps/linux/common/getresuid.c
+++ b/libc/sysdeps/linux/common/getresuid.c
@@ -8,6 +8,7 @@
*/
#include "syscalls.h"
+#ifdef __USE_GNU
#include <unistd.h>
#if defined(__NR_getresuid32)
@@ -34,3 +35,4 @@ int getresuid(uid_t * ruid, uid_t * euid, uid_t * suid)
return result;
}
#endif
+#endif