* updated knights (21.12.1 -> 21.12.2), untested
[t2-trunk.git] / package / network / mininet / nodiet.patch
blobb722ef5df634432d30d2ac5906272e707c9bb8f4
1 Ugly, I know - but so are non dietlibc C libraries ... ,-)
3 - Rene Rebe <rene@exactcode.de>
5 --- mininet/host.c.vanilla 2006-10-04 10:41:45.000000000 +0000
6 +++ mininet/host.c 2006-10-04 10:44:07.000000000 +0000
7 @@ -36,6 +36,9 @@
8 #include <ip6.h>
9 #include <uint32.h>
11 +#undef dn_expand
12 +#undef res_query
14 typedef struct { const char* name; unsigned short value; } rec;
16 rec classes[] =
17 --- mininet/arping.c.vanilla 2006-10-04 11:15:31.000000000 +0000
18 +++ mininet/arping.c 2006-10-04 11:15:36.000000000 +0000
19 @@ -2,7 +2,7 @@
20 #include <inttypes.h>
21 #include <sys/socket.h>
22 #include <netpacket/packet.h>
23 -#include <net/if_ether.h>
24 +#include <linux/if_ether.h>
25 #include <arpa/inet.h>
26 #include <sys/poll.h>
27 #include <unistd.h>
28 --- mininet/tcpdump.c.vanilla 2006-10-04 11:15:10.000000000 +0000
29 +++ mininet/tcpdump.c 2006-10-04 11:15:14.000000000 +0000
30 @@ -3,7 +3,7 @@
32 #include <sys/socket.h>
33 #include <net/if.h>
34 -#include <net/if_ether.h>
35 +#include <linux/if_ether.h>
36 #include <net/if_arp.h>
37 #include <netpacket/packet.h>
38 #include <unistd.h>
39 --- mininet/tstat.c.vanilla 2006-10-04 11:15:43.000000000 +0000
40 +++ mininet/tstat.c 2006-10-04 11:15:47.000000000 +0000
41 @@ -4,7 +4,7 @@
42 #include <stdlib.h>
43 #include <sys/socket.h>
44 #include <net/if.h>
45 -#include <net/if_ether.h>
46 +#include <linux/if_ether.h>
47 #include <net/if_arp.h>
48 #include <netpacket/packet.h>
49 #include <unistd.h>