Add support for IP over ATM
[openwrt.git] / package / linux-atm / patches / 600-arpd_includes.patch
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
4 @@ -16,7 +16,7 @@
5 #include <sys/types.h>
6 #include <sys/socket.h>
7 #include <sys/ioctl.h>
8 -#include <net/if.h>
9 +#include <linux/if.h>
10 #include <netinet/in.h>
11 #include <atm.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
16 @@ -15,7 +15,6 @@
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>
23 #include <atm.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
27 @@ -21,7 +21,6 @@
28 #include <atm.h>
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>
33
34 #include "atmd.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
38 @@ -12,7 +12,6 @@
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>
44
45 #include "atmd.h"
This page took 0.046845 seconds and 5 git commands to generate.