patch-pppd_sys-linux_c 581 B

12345678910111213141516171819202122
  1. --- ppp-2.4.5.orig/pppd/sys-linux.c 2009-11-16 23:26:07.000000000 +0100
  2. +++ ppp-2.4.5/pppd/sys-linux.c 2014-03-17 16:32:55.000000000 +0100
  3. @@ -102,19 +102,11 @@
  4. #define MAX_ADDR_LEN 7
  5. #endif
  6. -#if __GLIBC__ >= 2
  7. #include <asm/types.h> /* glibc 2 conflicts with linux/types.h */
  8. #include <net/if.h>
  9. #include <net/if_arp.h>
  10. #include <net/route.h>
  11. #include <netinet/if_ether.h>
  12. -#else
  13. -#include <linux/types.h>
  14. -#include <linux/if.h>
  15. -#include <linux/if_arp.h>
  16. -#include <linux/route.h>
  17. -#include <linux/if_ether.h>
  18. -#endif
  19. #include <netinet/in.h>
  20. #include <arpa/inet.h>