From 01bd62517cc242ae503aaa7002e9e94551803e4d Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Tue, 4 Feb 2020 10:29:04 -0300 Subject: 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. --- sysdeps/mach/hurd/mmap64.c | 1 + sysdeps/mach/hurd/waitid.c | 1 + 2 files changed, 2 insertions(+) (limited to 'sysdeps/mach') 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 #include #include +#include /* 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 #include +#include int __waitid (idtype_t idtype, id_t id, siginfo_t *infop, int options) -- cgit 1.4.1