Added support for 2.6.27 kernel
[openwrt.git] / package / linux-atm / patches / 600-arpd_includes.patch
1 Index: linux-atm-2.4.1/src/arpd/arp.c
2 ===================================================================
3 --- linux-atm-2.4.1.orig/src/arpd/arp.c 2007-10-20 19:19:10.002198470 +0200
4 +++ linux-atm-2.4.1/src/arpd/arp.c 2007-10-20 19:19:19.138719139 +0200
5 @@ -15,7 +15,6 @@
6 #include <sys/types.h>
7 #include <sys/socket.h> /* for linux/if_arp.h */
8 #include <netinet/in.h> /* for ntohs, etc. */
9 -#define _LINUX_NETDEVICE_H /* very crude hack for glibc2 */
10 #include <linux/if_arp.h>
11 #include <linux/if_ether.h>
12 #include <atm.h>
13 Index: linux-atm-2.4.1/src/arpd/io.c
14 ===================================================================
15 --- linux-atm-2.4.1.orig/src/arpd/io.c 2007-10-20 19:19:09.994198016 +0200
16 +++ linux-atm-2.4.1/src/arpd/io.c 2007-10-20 19:19:19.154720039 +0200
17 @@ -16,12 +16,11 @@
18 #include <sys/types.h>
19 #include <sys/socket.h>
20 #include <sys/ioctl.h>
21 -#include <net/if.h>
22 +#include <linux/if.h>
23 #include <netinet/in.h>
24 #include <atm.h>
25 #include <linux/atmclip.h> /* for CLIP_DEFAULT_IDLETIMER */
26 #include <linux/atmarp.h>
27 -#define _LINUX_NETDEVICE_H /* glibc2 */
28 #include <linux/if_arp.h>
29
30 #include "atmd.h"
31 Index: linux-atm-2.4.1/src/arpd/itf.c
32 ===================================================================
33 --- linux-atm-2.4.1.orig/src/arpd/itf.c 2007-10-20 19:19:10.010198930 +0200
34 +++ linux-atm-2.4.1/src/arpd/itf.c 2007-10-20 19:19:19.186721859 +0200
35 @@ -12,7 +12,6 @@
36 #include <sys/types.h>
37 #include <linux/atmclip.h>
38 #include <sys/socket.h>
39 -#define _LINUX_NETDEVICE_H /* glibc2 */
40 #include <linux/if_arp.h>
41
42 #include "atmd.h"
This page took 0.046228 seconds and 5 git commands to generate.