mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
Fix up sys/stat.h for XPG7.
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user