From: Paul Mackerras Date: Tue, 31 Mar 1998 23:48:03 +0000 (+0000) Subject: Fix it so it compiles with glibc 2 under linux X-Git-Tag: RELEASE_2_3_6~79 X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=commitdiff_plain;h=a6bdb0dc29e5779e2d35bae19739d3ce93f72335 Fix it so it compiles with glibc 2 under linux --- diff --git a/pppstats/pppstats.c b/pppstats/pppstats.c index b98b6ec..36e1ed6 100644 --- a/pppstats/pppstats.c +++ b/pppstats/pppstats.c @@ -32,7 +32,7 @@ */ #ifndef lint -static char rcsid[] = "$Id: pppstats.c,v 1.21 1998/03/25 03:01:10 paulus Exp $"; +static char rcsid[] = "$Id: pppstats.c,v 1.22 1998/03/31 23:48:03 paulus Exp $"; #endif #include @@ -55,7 +55,13 @@ static char rcsid[] = "$Id: pppstats.c,v 1.21 1998/03/25 03:01:10 paulus Exp $"; #include #include #else +/* Linux */ +#if __GLIBC__ >= 2 +#include +#else #include +#endif +#include #include #include #endif /* _linux_ */