1 diff -Nru linux-atm-2.4.1.orig/src/arpd/io.c linux-atm-2.4.1/src/arpd/io.c
2 --- linux-atm-2.4.1.orig/src/arpd/io.c 2001-09-03 21:41:05.000000000 +0300
3 +++ linux-atm-2.4.1/src/arpd/io.c 2007-04-14 18:30:54.000000000 +0300
6 #include <sys/socket.h>
10 #include <netinet/in.h>
12 #include <linux/atmclip.h> /* for CLIP_DEFAULT_IDLETIMER */
13 diff -urN linux-atm-2.4.1/src/arpd/arp.c linux-atm-2.4.1.new/src/arpd/arp.c
14 --- linux-atm-2.4.1/src/arpd/arp.c 2001-09-03 20:41:05.000000000 +0200
15 +++ linux-atm-2.4.1.new/src/arpd/arp.c 2007-09-15 22:15:05.000000000 +0200
17 #include <sys/types.h>
18 #include <sys/socket.h> /* for linux/if_arp.h */
19 #include <netinet/in.h> /* for ntohs, etc. */
20 -#define _LINUX_NETDEVICE_H /* very crude hack for glibc2 */
21 #include <linux/if_arp.h>
22 #include <linux/if_ether.h>
24 diff -urN linux-atm-2.4.1/src/arpd/io.c linux-atm-2.4.1.new/src/arpd/io.c
25 --- linux-atm-2.4.1/src/arpd/io.c 2001-09-03 20:41:05.000000000 +0200
26 +++ linux-atm-2.4.1.new/src/arpd/io.c 2007-09-15 22:15:05.000000000 +0200
29 #include <linux/atmclip.h> /* for CLIP_DEFAULT_IDLETIMER */
30 #include <linux/atmarp.h>
31 -#define _LINUX_NETDEVICE_H /* glibc2 */
32 #include <linux/if_arp.h>
35 diff -urN linux-atm-2.4.1/src/arpd/itf.c linux-atm-2.4.1.new/src/arpd/itf.c
36 --- linux-atm-2.4.1/src/arpd/itf.c 2001-09-03 20:41:05.000000000 +0200
37 +++ linux-atm-2.4.1.new/src/arpd/itf.c 2007-09-15 22:15:05.000000000 +0200
39 #include <sys/types.h>
40 #include <linux/atmclip.h>
41 #include <sys/socket.h>
42 -#define _LINUX_NETDEVICE_H /* glibc2 */
43 #include <linux/if_arp.h>