[package] update ndisc6 (#3779)
[openwrt/svn-archive/archive.git] / ipv6 / ndisc / patches / 100-favor_bsd.patch
1 diff -urN ndisc6-0.9.8/src/trace-tcp.c ndisc6-0.9.8.new/src/trace-tcp.c
2 --- ndisc6-0.9.8/src/trace-tcp.c 2008-05-01 14:52:28.000000000 +0200
3 +++ ndisc6-0.9.8.new/src/trace-tcp.c 2009-04-17 15:39:54.000000000 +0200
4 @@ -24,6 +24,7 @@
5
6 #undef _GNU_SOURCE
7 #define _BSD_SOURCE 1
8 +#define __FAVOR_BSD 1
9
10 #include <string.h>
11 #include <inttypes.h>
12 diff -urN ndisc6-0.9.8/src/trace-udp.c ndisc6-0.9.8.new/src/trace-udp.c
13 --- ndisc6-0.9.8/src/trace-udp.c 2008-05-01 14:52:28.000000000 +0200
14 +++ ndisc6-0.9.8.new/src/trace-udp.c 2009-04-17 15:40:36.000000000 +0200
15 @@ -24,6 +24,7 @@
16
17 #undef _GNU_SOURCE
18 #define _BSD_SOURCE 1
19 +#define __FAVOR_BSD 1
20
21 #include <string.h>
22 #include <stdbool.h>