diff options
author | Jim Meyering <jim@meyering.net> | 2005-12-23 08:27:44 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-12-23 08:27:44 +0000 |
commit | 6ed15904b1a59abc541279afdeb8078f68f458b9 (patch) | |
tree | 681740e9c698038563bd112ee77ab2b32dc5edaa /lib | |
parent | bda1fc0aa41df53695bed55256066dd302a04fc8 (diff) | |
download | coreutils-6ed15904b1a59abc541279afdeb8078f68f458b9.tar.xz |
(O_NOFOLLOW): Define.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chmod-safer.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/chmod-safer.c b/lib/chmod-safer.c index 218a11448..aac61dfc8 100644 --- a/lib/chmod-safer.c +++ b/lib/chmod-safer.c @@ -32,6 +32,10 @@ #include "fcntl--.h" /* for the open->open_safer mapping */ +#if !defined O_NOFOLLOW +# define O_NOFOLLOW 0 +#endif + #ifndef HAVE_FCHMOD # define HAVE_FCHMOD false # define fchmod(fd, mode) (-1) |