From c6f688a090909c9865340460fd64e2e59c33be05 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 17 Nov 2005 21:32:27 +0000 Subject: * io/sys/stat.h (fstatat): If __REDIRECT_NTH isn't defined, define fstatat to fstatat64. (fstatat64): Only provide prototype if __USE_LARGEFILE64, similarly with the inline. * io/fcntl.h (openat64): Only provide prototype if __USE_LARGEFILE64. --- io/fcntl.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'io/fcntl.h') diff --git a/io/fcntl.h b/io/fcntl.h index 8e13d33dcc..313540f96f 100644 --- a/io/fcntl.h +++ b/io/fcntl.h @@ -114,8 +114,10 @@ extern int __REDIRECT (openat, (int __fd, __const char *__file, int __oflag, # endif # endif +# ifdef __USE_LARGEFILE64 extern int openat64 (int __fd, __const char *__file, int __oflag, ...) __nonnull ((2)); +# endif #endif /* Create and open FILE, with mode MODE. This takes an `int' MODE -- cgit v1.2.3