summaryrefslogtreecommitdiff
path: root/libc/misc/internals/__errno_location.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/internals/__errno_location.c')
-rw-r--r--libc/misc/internals/__errno_location.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/misc/internals/__errno_location.c b/libc/misc/internals/__errno_location.c
index 71c5461a7..aec7641ce 100644
--- a/libc/misc/internals/__errno_location.c
+++ b/libc/misc/internals/__errno_location.c
@@ -15,3 +15,6 @@ __errno_location (void)
{
return &errno;
}
+#ifdef IS_IN_libc /* not really need, only to keep in sync w/ libc_hidden_proto */
+libc_hidden_weak(__errno_location)
+#endif