diff options
author | Paul Mackerras <paulus@samba.org> | 1999-01-20 00:02:21 +0000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 1999-01-20 00:02:21 +0000 |
commit | c884c1875f46508c98873d0d3c2559d9b0f12a1b (patch) | |
tree | 8df3d016397d364cfd1ccb6ebcabafb04152f9cb /pppstats | |
parent | 3fba081c6e1607ab349fc3237d1d519f1dc14e4d (diff) | |
download | ppp-c884c1875f46508c98873d0d3c2559d9b0f12a1b.tar.gz |
kludge for pseudo-glibc on linux/ppc
Diffstat (limited to 'pppstats')
-rw-r--r-- | pppstats/pppstats.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pppstats/pppstats.c b/pppstats/pppstats.c index 033a35b..78cc370 100644 --- a/pppstats/pppstats.c +++ b/pppstats/pppstats.c @@ -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> |