diff options
| author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2007-01-21 02:24:07 +0000 |
|---|---|---|
| committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2007-01-21 02:24:07 +0000 |
| commit | abfc5558bf4beb7dc381d93baaec4a9a3e4eba7b (patch) | |
| tree | 8763531b221e50bbbafb457cc1688e9ab4175516 /libc/sysdeps/linux/common/bits/uClibc_errno.h | |
| parent | 293cef1de02c36f58a48bcdbe2d385059ea04828 (diff) | |
| download | uClibc-alpine-abfc5558bf4beb7dc381d93baaec4a9a3e4eba7b.tar.bz2 uClibc-alpine-abfc5558bf4beb7dc381d93baaec4a9a3e4eba7b.tar.xz | |
More merging from trunk.
Diffstat (limited to 'libc/sysdeps/linux/common/bits/uClibc_errno.h')
| -rw-r--r-- | libc/sysdeps/linux/common/bits/uClibc_errno.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/common/bits/uClibc_errno.h b/libc/sysdeps/linux/common/bits/uClibc_errno.h index 9da9f8155..4cb2a8caa 100644 --- a/libc/sysdeps/linux/common/bits/uClibc_errno.h +++ b/libc/sysdeps/linux/common/bits/uClibc_errno.h @@ -31,10 +31,12 @@ extern int *__errno_location (void) __THROW __attribute__ ((__const__)) attribute_hidden # endif ; -#include <tls.h> -#if USE___THREAD +# if defined __UCLIBC_HAS_THREADS__ +# include <tls.h> +# if USE___THREAD libc_hidden_proto(__errno_location) -#endif +# endif +# endif /* We now need a declaration of the `errno' variable. */ # ifndef __UCLIBC_HAS_THREADS__ |
