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 /sysdeps/mach | |
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 'sysdeps/mach')
-rw-r--r-- | sysdeps/mach/hurd/mmap64.c | 1 | ||||
-rw-r--r-- | sysdeps/mach/hurd/waitid.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/mmap64.c b/sysdeps/mach/hurd/mmap64.c index 6d8566b5b1..23d7ca7f34 100644 --- a/sysdeps/mach/hurd/mmap64.c +++ b/sysdeps/mach/hurd/mmap64.c @@ -18,6 +18,7 @@ #include <errno.h> #include <sys/mman.h> #include <sys/types.h> +#include <mach/port.h> /* Map addresses starting near ADDR and extending for LEN bytes. From OFFSET into the file FD describes according to PROT and FLAGS. If ADDR diff --git a/sysdeps/mach/hurd/waitid.c b/sysdeps/mach/hurd/waitid.c index dce72339dd..044a1dd8e3 100644 --- a/sysdeps/mach/hurd/waitid.c +++ b/sysdeps/mach/hurd/waitid.c @@ -19,6 +19,7 @@ #include <errno.h> #include <sys/wait.h> +#include <stddef.h> int __waitid (idtype_t idtype, id_t id, siginfo_t *infop, int options) |