aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'file.c')
-rw-r--r--file.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/file.c b/file.c
index d3f7639ddf..9516e3f03f 100644
--- a/file.c
+++ b/file.c
@@ -818,6 +818,7 @@ group_member(GETGROUPS_T gid)
# define S_IXUGO (S_IXUSR | S_IXGRP | S_IXOTH)
#endif
+#ifndef HAVE_EACCESS
int
eaccess(const char *path, int mode)
{
@@ -857,6 +858,7 @@ eaccess(const char *path, int mode)
return access(path, mode);
#endif
}
+#endif
/*