diff options
Diffstat (limited to 'libc/bionic/__errno.cpp')
-rw-r--r-- | libc/bionic/__errno.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/bionic/__errno.cpp b/libc/bionic/__errno.cpp index 9caa618..c9c1605 100644 --- a/libc/bionic/__errno.cpp +++ b/libc/bionic/__errno.cpp @@ -27,9 +27,10 @@ */ #include <errno.h> -#include <bionic_tls.h> #include <stdint.h> +#include "private/bionic_tls.h" + volatile int* __errno() { return reinterpret_cast<int*>(&(__get_tls()[TLS_SLOT_ERRNO])); } |