diff options
author | Ulrich Drepper <drepper@redhat.com> | 2010-01-11 21:11:29 -0800 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2010-01-11 21:11:29 -0800 |
commit | e00a72ef5e8c9801d14dc2ece38a8fd03e3d11d8 (patch) | |
tree | e70e92acf0c36cf32f96f4cdcf49ce7caea6385c /io/sys/stat.h | |
parent | f8c1b120d49dc9a19a7e392d0e5d2cc4015f818b (diff) | |
download | glibc-e00a72ef5e8c9801d14dc2ece38a8fd03e3d11d8.zip glibc-e00a72ef5e8c9801d14dc2ece38a8fd03e3d11d8.tar.gz glibc-e00a72ef5e8c9801d14dc2ece38a8fd03e3d11d8.tar.bz2 |
Fix up sys/stat.h for XPG7.
Diffstat (limited to 'io/sys/stat.h')
-rw-r--r-- | io/sys/stat.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/io/sys/stat.h b/io/sys/stat.h index c21801d..733a927 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 |