aboutsummaryrefslogtreecommitdiff
path: root/include/errno.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/errno.h')
-rw-r--r--include/errno.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/errno.h b/include/errno.h
index 05888c1363..1b0aabc690 100644
--- a/include/errno.h
+++ b/include/errno.h
@@ -35,6 +35,11 @@ extern __thread int errno attribute_tls_model_ie;
# define __set_errno(val) (errno = (val))
+# ifndef __ASSEMBLER__
+extern int *__errno_location (void) __THROW __attribute__ ((__const__));
+libc_hidden_proto (__errno_location)
+# endif
+
#endif /* _ERRNO_H */
#endif /* ! _ERRNO_H */