From: Paul Mackerras Date: Wed, 20 Jan 1999 00:02:21 +0000 (+0000) Subject: kludge for pseudo-glibc on linux/ppc X-Git-Tag: RELEASE_2_3_6~36 X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=commitdiff_plain;h=c884c1875f46508c98873d0d3c2559d9b0f12a1b kludge for pseudo-glibc on linux/ppc --- 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