summaryrefslogtreecommitdiff
path: root/include/unistd.h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-11-08 20:38:23 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-11-08 20:38:23 +0100
commit8c142592ef695153781ac69eaa36b89da336c797 (patch)
treeddf2441e9380201769c66591a66650bccd26f282 /include/unistd.h
parentc797b9909cb53015c0a240a14d2788010f8b4f08 (diff)
add support for euidaccess/eaccess legacy functions
Implementation taken from musl libc project. Missing functions recognized by buildroot autobuilders with failing open-vm-tools.
Diffstat (limited to 'include/unistd.h')
-rw-r--r--include/unistd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/unistd.h b/include/unistd.h
index 40d6abdc0..8e4daf687 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -290,7 +290,7 @@ typedef __socklen_t socklen_t;
/* Test for access to NAME using the real UID and real GID. */
extern int access (const char *__name, int __type) __THROW __nonnull ((1));
-#if 0 /*def __USE_GNU*/
+#if defined __UCLIBC_LINUX_SPECIFIC__ && defined __USE_GNU
/* Test for access to NAME using the effective UID and GID
(as normal file operations use). */
extern int euidaccess (const char *__name, int __type)