From: Paul Mackerras Date: Mon, 4 May 1998 06:57:18 +0000 (+0000) Subject: Change to make it compile on glibc 2 systems X-Git-Tag: RELEASE_2_3_6~60 X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=commitdiff_plain;h=671b8cc6878153fb277dc6aeee5a1c404cd0b87e Change to make it compile on glibc 2 systems --- diff --git a/pppd/sys-linux.c b/pppd/sys-linux.c index 0b4f9b8..6d994a5 100644 --- a/pppd/sys-linux.c +++ b/pppd/sys-linux.c @@ -75,7 +75,12 @@ #ifdef IPX_CHANGE #include "ipxcp.h" +#if __GLIBC__ >= 2 && \ + !(defined(__powerpc__) && __GLIBC__ == 2 && __GLIBC_MINOR__ == 0) +#include +#else #include +#endif #endif /* IPX_CHANGE */ #ifdef LOCKLIB