From 4089ec9aeba57498b21688084417c1afd7b6d003 Mon Sep 17 00:00:00 2001
From: Mike Frysinger <vapier@gentoo.org>
Date: Tue, 16 Aug 2005 06:00:36 +0000
Subject: add a 0.9.27 compat symbol (_glibc_strerror_r) since the function has
 since been renamed to __glibc_strerror_r in 0.9.28

---
 libc/string/wstring.c | 1 +
 1 file changed, 1 insertion(+)

(limited to 'libc')

diff --git a/libc/string/wstring.c b/libc/string/wstring.c
index 6f54ae615..acf1a2b0a 100644
--- a/libc/string/wstring.c
+++ b/libc/string/wstring.c
@@ -1572,6 +1572,7 @@ int __xpg_strerror_r(int errnum, char *strerrbuf, size_t buflen)
 #ifdef L___glibc_strerror_r
 
 weak_alias(__glibc_strerror_r,__strerror_r);
+weak_alias(__glibc_strerror_r,_glibc_strerror_r); /* for 0.9.27 compat ... remove after 0.9.28 */
 
 char *__glibc_strerror_r(int errnum, char *strerrbuf, size_t buflen)
 {
-- 
cgit v1.2.3