1 diff -Nur --exclude *~ iproute2/lib/rt_names.c iproute2.new/lib/rt_names.c
2 --- iproute2/lib/rt_names.c Sun Apr 16 19:42:52 2000
3 +++ iproute2.new/lib/rt_names.c Sun Apr 15 10:22:07 2001
8 +#include <asm/types.h>
10 static void rtnl_tab_initialize(char *file, char **tab, int size)
12 diff -Nur --exclude *~ iproute2/include/rt_names.h iproute2.new/include/rt_names.h
13 --- iproute2/include/rt_names.h Sun Apr 16 19:42:50 2000
14 +++ iproute2.new/include/rt_names.h Sat Apr 14 17:13:33 2001
19 +#include <asm/types.h>
20 const char* rtnl_rtprot_n2a(int id, char *buf, int len);
21 const char* rtnl_rtscope_n2a(int id, char *buf, int len);
22 const char* rtnl_rttable_n2a(int id, char *buf, int len);
23 diff -Nur --exclude *~ iproute2/ip/iptunnel.c iproute2.new/ip/iptunnel.c
24 --- iproute2/ip/iptunnel.c Sun Apr 16 19:42:51 2000
25 +++ iproute2.new/ip/iptunnel.c Sun Apr 15 13:57:16 2001
27 #include <netinet/ip.h>
28 #include <arpa/inet.h>
29 #include <linux/if_tunnel.h>
30 +#include <asm/byteorder.h>
34 diff -Nur --exclude *~ iproute2/lib/utils.c iproute2.new/lib/utils.c
35 --- iproute2/lib/utils.c Sun Apr 16 19:42:53 2000
36 +++ iproute2.new/lib/utils.c Sat Apr 14 17:28:18 2001
39 #include <arpa/inet.h>
41 +#include <asm/types.h>
42 #include <linux/pkt_sched.h>
45 diff -Nur --exclude *~ iproute2/lib/inet_ntop.c iproute2.new/lib/inet_ntop.c
46 --- iproute2/lib/inet_ntop.c Sun Apr 16 19:42:52 2000
47 +++ iproute2.new/lib/inet_ntop.c Sun Apr 15 14:11:19 2001
52 -#include <linux/in6.h>
54 -#define IN6ADDRSZ sizeof(struct in6_addr)
56 +/* #include <linux/in6.h> */
57 +/* #ifndef IN6ADDRSZ */
58 +/* #define IN6ADDRSZ sizeof(struct in6_addr) */
62 # define SPRINTF(x) strlen(sprintf/**/x)
63 diff -Nur --exclude *~ iproute2/lib/inet_pton.c iproute2.new/lib/inet_pton.c
64 --- iproute2/lib/inet_pton.c Sun Apr 16 19:42:52 2000
65 +++ iproute2.new/lib/inet_pton.c Sun Apr 15 14:12:43 2001
70 -#include <linux/in6.h>
71 -#define IN6ADDRSZ sizeof(struct in6_addr)
72 +/* #include <linux/in6.h> */
73 +/* #define IN6ADDRSZ sizeof(struct in6_addr) */
76 * WARNING: Don't even consider trying to compile this on a system where