The fchmod() function is present in POSIX 2001.12. Signed-off-by: Paul Cercueil <p...@crapouillou.net> --- include/sys/stat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/sys/stat.h b/include/sys/stat.h index 6b6ff0047..99a6382a0 100644 --- a/include/sys/stat.h +++ b/include/sys/stat.h @@ -302,7 +302,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_XOPEN2K extern int fchmod (int __fd, __mode_t __mode) __THROW; #endif -- 2.43.0 _______________________________________________ devel mailing list -- devel@uclibc-ng.org To unsubscribe send an email to devel-le...@uclibc-ng.org