]>
Commit | Line | Data |
---|---|---|
987a1f33 | 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 | |
4 | @@ -16,6 +16,7 @@ | |
5 | #include <fcntl.h> | |
6 | #include <string.h> | |
7 | #include <sys/time.h> | |
8 | +#include <asm/types.h> | |
9 | ||
10 | static void rtnl_tab_initialize(char *file, char **tab, int size) | |
11 | { | |
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 | |
15 | @@ -1,6 +1,7 @@ | |
16 | #ifndef RT_NAMES_H_ | |
17 | #define RT_NAMES_H_ 1 | |
18 | ||
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 | |
26 | @@ -30,6 +30,7 @@ | |
27 | #include <netinet/ip.h> | |
28 | #include <arpa/inet.h> | |
29 | #include <linux/if_tunnel.h> | |
30 | +#include <asm/byteorder.h> | |
31 | ||
32 | #include "rt_names.h" | |
33 | #include "utils.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 | |
37 | @@ -25,6 +25,7 @@ | |
38 | #include <netdb.h> | |
39 | #include <arpa/inet.h> | |
40 | #include <resolv.h> | |
41 | +#include <asm/types.h> | |
42 | #include <linux/pkt_sched.h> | |
43 | ||
44 | #include "utils.h" | |
4c8fdc1f | 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 | |
48 | @@ -28,8 +28,8 @@ | |
49 | #include <errno.h> | |
50 | #include <stdio.h> | |
51 | ||
52 | -#include <linux/in6.h> | |
53 | -#define IN6ADDRSZ sizeof(struct in6_addr) | |
54 | +/* #include <linux/in6.h> */ | |
55 | +/* #define IN6ADDRSZ sizeof(struct in6_addr) */ | |
56 | ||
57 | #ifdef SPRINTF_CHAR | |
58 | # define SPRINTF(x) strlen(sprintf/**/x) | |
59 | diff -Nur --exclude *~ iproute2/lib/inet_pton.c iproute2.new/lib/inet_pton.c | |
60 | --- iproute2/lib/inet_pton.c Sun Apr 16 19:42:52 2000 | |
61 | +++ iproute2.new/lib/inet_pton.c Sun Apr 15 14:12:43 2001 | |
62 | @@ -27,8 +27,8 @@ | |
63 | #include <string.h> | |
64 | #include <errno.h> | |
65 | ||
66 | -#include <linux/in6.h> | |
67 | -#define IN6ADDRSZ sizeof(struct in6_addr) | |
68 | +/* #include <linux/in6.h> */ | |
69 | +/* #define IN6ADDRSZ sizeof(struct in6_addr) */ | |
70 | ||
71 | /* | |
72 | * WARNING: Don't even consider trying to compile this on a system where | |
73 | diff -Nur --exclude *~ iproute2/ip/Makefile iproute2.new/ip/Makefile | |
74 | --- iproute2/ip/Makefile Sun Apr 16 19:42:50 2000 | |
75 | +++ iproute2.new/ip/Makefile Sun Apr 15 14:26:48 2001 | |
76 | @@ -14,7 +14,7 @@ | |
77 | ||
78 | rtmon: $(RTMONOBJ) $(LIBNETLINK) | |
79 | ||
80 | -rtacct: $(RTACCTOBJ) | |
81 | +rtacct: $(RTACCTOBJ) $(LIBNETLINK) | |
82 | ||
83 | clean: | |
84 | rm -f $(IPOBJ) $(RTMONOBJ) $(RTACCTOBJ) ip rtmon rtacct |