From 0f9f78c50e24776b1527aec87cad2230c5240425 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sun, 11 Mar 2012 10:13:47 -0700 Subject: [PATCH] wrap __weak_alias with _LIBC --- lib/libedit/src/unvis.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/libedit/src/unvis.c b/lib/libedit/src/unvis.c index c20a67f4c..8e6fcf5fa 100644 --- a/lib/libedit/src/unvis.c +++ b/lib/libedit/src/unvis.c @@ -46,9 +46,11 @@ __RCSID("$NetBSD: unvis.c,v 1.32 2010/11/27 21:22:11 christos Exp $"); #include #include +#ifdef _LIBC #ifdef __weak_alias __weak_alias(strunvis,_strunvis) #endif +#endif #if !HAVE_VIS /* -- 2.11.4.GIT