diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2020-02-04 10:29:04 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2020-11-13 12:59:19 -0300 |
commit | 01bd62517cc242ae503aaa7002e9e94551803e4d (patch) | |
tree | 4eb2b077db03794483dffa01795addead2eb88ef /io | |
parent | 26f7c72a99f4e46755ec2ff23a6a7cf9c2c337c3 (diff) | |
download | glibc-01bd62517cc242ae503aaa7002e9e94551803e4d.tar glibc-01bd62517cc242ae503aaa7002e9e94551803e4d.tar.gz glibc-01bd62517cc242ae503aaa7002e9e94551803e4d.tar.bz2 glibc-01bd62517cc242ae503aaa7002e9e94551803e4d.zip |
Remove tls.h inclusion from internal errno.h
The tls.h inclusion is not really required and limits possible
definition on more arch specific headers.
This is a cleanup to allow inline functions on sysdep.h, more
specifically on i386 and ia64 which requires to access some tls
definitions its own.
No semantic changes expected, checked with a build against all
affected ABIs.
Diffstat (limited to 'io')
-rw-r--r-- | io/lchmod.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/io/lchmod.c b/io/lchmod.c index 8b788034ee..3a0f714576 100644 --- a/io/lchmod.c +++ b/io/lchmod.c @@ -16,10 +16,8 @@ License along with the GNU C Library; if not, see <https://www.gnu.org/licenses/>. */ -#include <errno.h> #include <fcntl.h> -#include <sys/types.h> -#include <unistd.h> +#include <sys/stat.h> /* Change the protections of FILE to MODE. */ int |