remove-define-hacks.patch 923 B

1234567891011121314151617181920212223
  1. diff -up linux-atm-2.5.1/src/arpd/arp.c.ftbfs linux-atm-2.5.1/src/arpd/arp.c
  2. --- linux-atm-2.5.1/src/arpd/arp.c.ftbfs 2007-07-11 11:27:15.000000000 -0400
  3. +++ linux-atm-2.5.1/src/arpd/arp.c 2019-05-02 20:15:45.497338836 -0400
  4. @@ -15,7 +15,6 @@
  5. #include <sys/types.h>
  6. #include <sys/socket.h> /* for linux/if_arp.h */
  7. #include <netinet/in.h> /* for ntohs, etc. */
  8. -#define _LINUX_NETDEVICE_H /* very crude hack for glibc2 */
  9. #include <linux/types.h>
  10. #include <linux/if_arp.h>
  11. #include <linux/if_ether.h>
  12. diff -up linux-atm-2.5.1/src/arpd/itf.c.ftbfs linux-atm-2.5.1/src/arpd/itf.c
  13. --- linux-atm-2.5.1/src/arpd/itf.c.ftbfs 2007-07-11 11:27:15.000000000 -0400
  14. +++ linux-atm-2.5.1/src/arpd/itf.c 2019-05-02 20:19:08.046499027 -0400
  15. @@ -12,7 +12,6 @@
  16. #include <sys/types.h>
  17. #include <linux/atmclip.h>
  18. #include <sys/socket.h>
  19. -#define _LINUX_NETDEVICE_H /* glibc2 */
  20. #include <linux/types.h>
  21. #include <linux/if_arp.h>