Change to make it compile on glibc 2 systems
authorPaul Mackerras <paulus@samba.org>
Mon, 4 May 1998 06:57:18 +0000 (06:57 +0000)
committerPaul Mackerras <paulus@samba.org>
Mon, 4 May 1998 06:57:18 +0000 (06:57 +0000)
pppd/sys-linux.c

index 0b4f9b8ff832ef0c0df48abdbc110b2952e52c1b..6d994a5baf16a8752f4d74fe17ddb27a5a060399 100644 (file)
 
 #ifdef IPX_CHANGE
 #include "ipxcp.h"
 
 #ifdef IPX_CHANGE
 #include "ipxcp.h"
+#if __GLIBC__ >= 2 && \
+    !(defined(__powerpc__) && __GLIBC__ == 2 && __GLIBC_MINOR__ == 0)
+#include <netipx/ipx.h>
+#else
 #include <linux/ipx.h>
 #include <linux/ipx.h>
+#endif
 #endif /* IPX_CHANGE */
 
 #ifdef LOCKLIB
 #endif /* IPX_CHANGE */
 
 #ifdef LOCKLIB