From c884c1875f46508c98873d0d3c2559d9b0f12a1b Mon Sep 17 00:00:00 2001 From: Paul Mackerras Date: Wed, 20 Jan 1999 00:02:21 +0000 Subject: [PATCH] kludge for pseudo-glibc on linux/ppc --- pppstats/pppstats.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pppstats/pppstats.c b/pppstats/pppstats.c index 033a35b..78cc370 100644 --- a/pppstats/pppstats.c +++ b/pppstats/pppstats.c @@ -32,7 +32,7 @@ */ #ifndef lint -static char rcsid[] = "$Id: pppstats.c,v 1.23 1998/07/07 04:23:04 paulus Exp $"; +static char rcsid[] = "$Id: pppstats.c,v 1.24 1999/01/20 00:02:21 paulus Exp $"; #endif #include @@ -49,6 +49,10 @@ static char rcsid[] = "$Id: pppstats.c,v 1.23 1998/07/07 04:23:04 paulus Exp $"; #include #ifndef STREAMS +#if defined(_linux_) && defined(__powerpc__) +/* kludge alert! */ +#undef __GLIBC__ +#endif #include /* *BSD, Linux, NeXT, Ultrix etc. */ #ifndef _linux_ #include -- 2.39.2