X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Ffcntl.in.h;h=0ae8213e4764f2cd643a778fd1d9fb791ba2ed6f;hb=298d8b4a29e66da0b046b64b822f97d1c8fef74b;hp=6c88b476ffde10b0658617edef8326ca90e143c6;hpb=52c658e92436e7ef2d7c7b6f7ee69ae4431b6d7d;p=gnulib.git diff --git a/lib/fcntl.in.h b/lib/fcntl.in.h index 6c88b476f..0ae8213e4 100644 --- a/lib/fcntl.in.h +++ b/lib/fcntl.in.h @@ -62,9 +62,11 @@ extern int open (const char *filename, int flags, ...); #endif #if @GNULIB_OPENAT@ -# if !@HAVE_OPENAT@ +# if @REPLACE_OPENAT@ # undef openat # define openat rpl_openat +# endif +# if !@HAVE_OPENAT@ || @REPLACE_OPENAT@ int openat (int fd, char const *file, int flags, /* mode_t mode */ ...); # endif #elif defined GNULIB_POSIXCHECK @@ -192,6 +194,15 @@ int openat (int fd, char const *file, int flags, /* mode_t mode */ ...); # define AT_REMOVEDIR 1 #endif +/* Solaris 9 lacks these two, so just pick unique values. */ +#ifndef AT_SYMLINK_FOLLOW +# define AT_SYMLINK_FOLLOW 2 +#endif + +#ifndef AT_EACCESS +# define AT_EACCESS 4 +#endif + #endif /* _GL_FCNTL_H */ #endif /* _GL_FCNTL_H */