X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppstats%2Fpppstats.c;h=36e1ed60dd6c7f42af3003f52496f36cdf786ee2;hb=f4359362fc3b55c4668b31bc6e56a0365156147b;hp=b8784c288b9a7ca81020ca12b5d694bf189fa04d;hpb=0ea6710adf7805f539a5f24122d593aaee5d38a1;p=ppp.git diff --git a/pppstats/pppstats.c b/pppstats/pppstats.c index b8784c2..36e1ed6 100644 --- a/pppstats/pppstats.c +++ b/pppstats/pppstats.c @@ -32,7 +32,7 @@ */ #ifndef lint -static char rcsid[] = "$Id: pppstats.c,v 1.20 1998/02/04 01:42:06 paulus Exp $"; +static char rcsid[] = "$Id: pppstats.c,v 1.22 1998/03/31 23:48:03 paulus Exp $"; #endif #include @@ -47,15 +47,28 @@ static char rcsid[] = "$Id: pppstats.c,v 1.20 1998/02/04 01:42:06 paulus Exp $"; #include #include #include -#include #ifndef STREAMS #include /* *BSD, Linux, NeXT, Ultrix etc. */ +#ifndef _linux_ #include +#include #include +#else +/* 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 */