X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppstats%2Fpppstats.c;h=d5f74b9911a8b2c133d2bcec4842147583ea3f31;hp=78cc3701d905bf30fcb1fa6eb9c97f0cd7afbb34;hb=c291dcda5acdd3edb75c4127c7c001017ba3a876;hpb=c884c1875f46508c98873d0d3c2559d9b0f12a1b diff --git a/pppstats/pppstats.c b/pppstats/pppstats.c index 78cc370..d5f74b9 100644 --- a/pppstats/pppstats.c +++ b/pppstats/pppstats.c @@ -31,8 +31,12 @@ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ +#ifndef __STDC__ +#define const +#endif + #ifndef lint -static char rcsid[] = "$Id: pppstats.c,v 1.24 1999/01/20 00:02:21 paulus Exp $"; +static const char rcsid[] = "$Id: pppstats.c,v 1.27 1999/08/13 06:46:23 paulus Exp $"; #endif #include @@ -49,7 +53,8 @@ static char rcsid[] = "$Id: pppstats.c,v 1.24 1999/01/20 00:02:21 paulus Exp $"; #include #ifndef STREAMS -#if defined(_linux_) && defined(__powerpc__) +#if defined(_linux_) && defined(__powerpc__) \ + && (__GLIBC__ == 2 && __GLIBC_MINOR__ == 0) /* kludge alert! */ #undef __GLIBC__ #endif