aboutsummaryrefslogtreecommitdiffstats
path: root/package/linux-atm/patches/600-arpd_includes.patch
blob: c753802766acbe80bb163b22279efab285046164 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
diff -Nru linux-atm-2.4.1.orig/src/arpd/io.c linux-atm-2.4.1/src/arpd/io.c
--- linux-atm-2.4.1.orig/src/arpd/io.c  2001-09-03 21:41:05.000000000 +0300
+++ linux-atm-2.4.1/src/arpd/io.c       2007-04-14 18:30:54.000000000 +0300
@@ -16,7 +16,7 @@
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <sys/ioctl.h>
-#include <net/if.h>
+#include <linux/if.h>
 #include <netinet/in.h>
 #include <atm.h>
 #include <linux/atmclip.h> /* for CLIP_DEFAULT_IDLETIMER */
diff -urN linux-atm-2.4.1/src/arpd/arp.c linux-atm-2.4.1.new/src/arpd/arp.c
--- linux-atm-2.4.1/src/arpd/arp.c	2001-09-03 20:41:05.000000000 +0200
+++ linux-atm-2.4.1.new/src/arpd/arp.c	2007-09-15 22:15:05.000000000 +0200
@@ -15,7 +15,6 @@
 #include <sys/types.h>
 #include <sys/socket.h> /* for linux/if_arp.h */
 #include <netinet/in.h> /* for ntohs, etc. */
-#define _LINUX_NETDEVICE_H /* very crude hack for glibc2 */
 #include <linux/if_arp.h>
 #include <linux/if_ether.h>
 #include <atm.h>
diff -urN linux-atm-2.4.1/src/arpd/io.c linux-atm-2.4.1.new/src/arpd/io.c
--- linux-atm-2.4.1/src/arpd/io.c	2001-09-03 20:41:05.000000000 +0200
+++ linux-atm-2.4.1.new/src/arpd/io.c	2007-09-15 22:15:05.000000000 +0200
@@ -21,7 +21,6 @@
 #include <atm.h>
 #include <linux/atmclip.h> /* for CLIP_DEFAULT_IDLETIMER */
 #include <linux/atmarp.h>
-#define _LINUX_NETDEVICE_H /* glibc2 */
 #include <linux/if_arp.h>
 
 #include "atmd.h"
diff -urN linux-atm-2.4.1/src/arpd/itf.c linux-atm-2.4.1.new/src/arpd/itf.c
--- linux-atm-2.4.1/src/arpd/itf.c	2001-09-03 20:41:05.000000000 +0200
+++ linux-atm-2.4.1.new/src/arpd/itf.c	2007-09-15 22:15:05.000000000 +0200
@@ -12,7 +12,6 @@
 #include <sys/types.h>
 #include <linux/atmclip.h>
 #include <sys/socket.h>
-#define _LINUX_NETDEVICE_H /* glibc2 */
 #include <linux/if_arp.h>
 
 #include "atmd.h"