X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppstats%2Fpppstats.c;h=36e1ed60dd6c7f42af3003f52496f36cdf786ee2;hb=8ef130a49773ca93ddedf3bbd254e601c7d157b1;hp=781e5b25a88de427e2def36758b9db1c7e2a12cf;hpb=7ee401ae8098e9ea7794270d28cfd00c1a515319;p=ppp.git diff --git a/pppstats/pppstats.c b/pppstats/pppstats.c index 781e5b2..36e1ed6 100644 --- a/pppstats/pppstats.c +++ b/pppstats/pppstats.c @@ -32,7 +32,7 @@ */ #ifndef lint -static char rcsid[] = "$Id: pppstats.c,v 1.19 1997/04/30 06:00:27 paulus Exp $"; +static char rcsid[] = "$Id: pppstats.c,v 1.22 1998/03/31 23:48:03 paulus Exp $"; #endif #include @@ -47,19 +47,28 @@ static char rcsid[] = "$Id: pppstats.c,v 1.19 1997/04/30 06:00:27 paulus Exp $"; #include #include #include -#include #ifndef STREAMS #include /* *BSD, Linux, NeXT, Ultrix etc. */ -#include #ifndef _linux_ +#include +#include #include #else -#include +/* Linux */ +#if __GLIBC__ >= 2 +#include +#else +#include #endif +#include +#include +#include +#endif /* _linux_ */ #else /* STREAMS */ #include /* SVR4, Solaris 2, SunOS 4, OSF/1, etc. */ +#include #include #endif /* STREAMS */