diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2024-01-20 11:45:04 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2024-01-20 11:45:38 -0800 |
commit | 3add626f1405739aa430adcc0b4c27e587a7c561 (patch) | |
tree | 1b30227dc3f70924a4ed92f662cec9276dea96c9 /lib/faccessat.c | |
parent | d276996c4f60395464ca8d5d7de487022b4937fa (diff) | |
download | emacs-3add626f1405739aa430adcc0b4c27e587a7c561.tar.gz |
Update from Gnulib by running admin/merge-gnulib
Diffstat (limited to 'lib/faccessat.c')
-rw-r--r-- | lib/faccessat.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/faccessat.c b/lib/faccessat.c index f82eca2dbe3..8178ca8632e 100644 --- a/lib/faccessat.c +++ b/lib/faccessat.c @@ -40,10 +40,14 @@ orig_faccessat (int fd, char const *name, int mode, int flag) } #endif +#ifdef __osf__ /* Write "unistd.h" here, not <unistd.h>, otherwise OSF/1 5.1 DTK cc eliminates this include because of the preliminary #include <unistd.h> above. */ -#include "unistd.h" +# include "unistd.h" +#else +# include <unistd.h> +#endif #ifndef HAVE_ACCESS /* Mingw lacks access, but it also lacks real vs. effective ids, so |