|
@@ -31,10 +31,12 @@ extern int *__errno_location (void) __THROW __attribute__ ((__const__))
|
|
attribute_hidden
|
|
attribute_hidden
|
|
# endif
|
|
# endif
|
|
;
|
|
;
|
|
-#include <tls.h>
|
|
+# if defined __UCLIBC_HAS_THREADS__
|
|
-#if USE___THREAD
|
|
+# include <tls.h>
|
|
|
|
+# if USE___THREAD
|
|
libc_hidden_proto(__errno_location)
|
|
libc_hidden_proto(__errno_location)
|
|
-#endif
|
|
+# endif
|
|
|
|
+# endif
|
|
|
|
|
|
/* We now need a declaration of the `errno' variable. */
|
|
/* We now need a declaration of the `errno' variable. */
|
|
# ifndef __UCLIBC_HAS_THREADS__
|
|
# ifndef __UCLIBC_HAS_THREADS__
|