X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Ffcntl.in.h;h=0ae8213e4764f2cd643a778fd1d9fb791ba2ed6f;hb=298d8b4a29e66da0b046b64b822f97d1c8fef74b;hp=cadb6a1572a63539ee2fac7bc4cd1a746b8b32f3;hpb=973333dc422903c68f8a34c9612ef583ed0cb6ff;p=gnulib.git diff --git a/lib/fcntl.in.h b/lib/fcntl.in.h index cadb6a157..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