summaryrefslogtreecommitdiff
path: root/pppstats
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>1999-04-16 11:36:51 +0000
committerPaul Mackerras <paulus@samba.org>1999-04-16 11:36:51 +0000
commitbc86389e1fd7c1eb6ea517a40a1e27274065c739 (patch)
treebf6b8e42572c0911876c7f2bf4c422e42667477b /pppstats
parent3b500e7b064714f152caeaec73aae9844d12613b (diff)
downloadppp-bc86389e1fd7c1eb6ea517a40a1e27274065c739.tar.gz
nasty powerpc kludge is only needed for glibc 2.0
Diffstat (limited to 'pppstats')
-rw-r--r--pppstats/pppstats.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/pppstats/pppstats.c b/pppstats/pppstats.c
index 78cc370..2881f04 100644
--- a/pppstats/pppstats.c
+++ b/pppstats/pppstats.c
@@ -32,7 +32,7 @@
*/
#ifndef lint
-static char rcsid[] = "$Id: pppstats.c,v 1.24 1999/01/20 00:02:21 paulus Exp $";
+static char rcsid[] = "$Id: pppstats.c,v 1.25 1999/04/16 11:36:51 paulus Exp $";
#endif
#include <stdio.h>
@@ -49,7 +49,8 @@ static char rcsid[] = "$Id: pppstats.c,v 1.24 1999/01/20 00:02:21 paulus Exp $";
#include <sys/ioctl.h>
#ifndef STREAMS
-#if defined(_linux_) && defined(__powerpc__)
+#if defined(_linux_) && defined(__powerpc__) \
+ && (__GLIBC__ == 2 && __GLIBC_MINOR__ == 0)
/* kludge alert! */
#undef __GLIBC__
#endif