diff options
Diffstat (limited to 'Src')
-rw-r--r-- | Src/cond.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/cond.c b/Src/cond.c index fbe49f19c..5593097a0 100644 --- a/Src/cond.c +++ b/Src/cond.c @@ -310,9 +310,10 @@ evalcond(Estate state) static int doaccess(char *s, int c) { +#ifdef HAVE_FACCESSX if (!strncmp(s, "/dev/fd/", 8)) return !faccessx(atoi(s + 8), c, ACC_SELF); - +#endif return !access(unmeta(s), c); } |