From: Jim Meyering Date: Fri, 23 Dec 2005 08:27:44 +0000 (+0000) Subject: (O_NOFOLLOW): Define. X-Git-Tag: v6.0~1047 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6ed15904b1a59abc541279afdeb8078f68f458b9;p=thirdparty%2Fcoreutils.git (O_NOFOLLOW): Define. --- diff --git a/lib/chmod-safer.c b/lib/chmod-safer.c index 218a11448c..aac61dfc8b 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)