aboutsummaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2010-01-11 21:11:29 -0800
committerUlrich Drepper <drepper@redhat.com>2010-01-11 21:11:29 -0800
commite00a72ef5e8c9801d14dc2ece38a8fd03e3d11d8 (patch)
treee70e92acf0c36cf32f96f4cdcf49ce7caea6385c /io
parentf8c1b120d49dc9a19a7e392d0e5d2cc4015f818b (diff)
downloadglibc-e00a72ef5e8c9801d14dc2ece38a8fd03e3d11d8.tar
glibc-e00a72ef5e8c9801d14dc2ece38a8fd03e3d11d8.tar.gz
glibc-e00a72ef5e8c9801d14dc2ece38a8fd03e3d11d8.tar.bz2
glibc-e00a72ef5e8c9801d14dc2ece38a8fd03e3d11d8.zip
Fix up sys/stat.h for XPG7.
Diffstat (limited to 'io')
-rw-r--r--io/sys/stat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/io/sys/stat.h b/io/sys/stat.h
index c21801d6a9..733a927888 100644
--- a/io/sys/stat.h
+++ b/io/sys/stat.h
@@ -29,7 +29,7 @@
#include <bits/types.h> /* For __mode_t and __dev_t. */
#if defined __USE_XOPEN || defined __USE_XOPEN2K || defined __USE_MISC \
- || defined __USE_ATFILE
+ || defined __USE_ATFILE
# if defined __USE_XOPEN || defined __USE_XOPEN2K
# define __need_time_t
# endif
@@ -293,7 +293,7 @@ extern int lchmod (__const char *__file, __mode_t __mode)
#endif
/* Set file access permissions of the file FD is open on to MODE. */
-#if defined __USE_BSD || defined __USE_XOPEN_EXTENDED
+#if defined __USE_BSD || defined __USE_XOPEN_EXTENDED || defined __USE_XOPEN2K8
extern int fchmod (int __fd, __mode_t __mode) __THROW;
#endif