]> git.ozlabs.org Git - ppp.git/commitdiff
kludge for pseudo-glibc on linux/ppc
authorPaul Mackerras <paulus@samba.org>
Wed, 20 Jan 1999 00:02:21 +0000 (00:02 +0000)
committerPaul Mackerras <paulus@samba.org>
Wed, 20 Jan 1999 00:02:21 +0000 (00:02 +0000)
pppstats/pppstats.c

index 033a35b0dd64605e27b8128ac9d0825a03892ba6..78cc3701d905bf30fcb1fa6eb9c97f0cd7afbb34 100644 (file)
@@ -32,7 +32,7 @@
  */
 
 #ifndef lint
-static char rcsid[] = "$Id: pppstats.c,v 1.23 1998/07/07 04:23:04 paulus Exp $";
+static char rcsid[] = "$Id: pppstats.c,v 1.24 1999/01/20 00:02:21 paulus Exp $";
 #endif
 
 #include <stdio.h>
@@ -49,6 +49,10 @@ static char rcsid[] = "$Id: pppstats.c,v 1.23 1998/07/07 04:23:04 paulus Exp $";
 #include <sys/ioctl.h>
 
 #ifndef STREAMS
+#if defined(_linux_) && defined(__powerpc__)
+/* kludge alert! */
+#undef __GLIBC__
+#endif
 #include <sys/socket.h>                /* *BSD, Linux, NeXT, Ultrix etc. */
 #ifndef _linux_
 #include <net/if.h>