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/unix/sysv/linux/getentropy.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sysdeps/unix/sysv/linux/getentropy.c') diff --git a/sysdeps/unix/sysv/linux/getentropy.c b/sysdeps/unix/sysv/linux/getentropy.c index 2f3a4e4692..02cf46ff42 100644 --- a/sysdeps/unix/sysv/linux/getentropy.c +++ b/sysdeps/unix/sysv/linux/getentropy.c @@ -20,6 +20,7 @@ #include #include #include +#include /* Write LENGTH bytes of randomness starting at BUFFER. Return 0 on success and -1 on failure. */ -- cgit v1.2.3-70-g09d2