[packages] send: fix more OpenSSL 1.0.0 fallout
[openwrt/svn-archive/archive.git] / ipv6 / ndisc / patches / 100-favor_bsd.patch
1 --- a/src/trace-tcp.c
2 +++ b/src/trace-tcp.c
3 @@ -24,6 +24,7 @@
4
5 #undef _GNU_SOURCE
6 #define _BSD_SOURCE 1
7 +#define __FAVOR_BSD 1
8
9 #include <string.h>
10 #include <inttypes.h>
11 --- a/src/trace-udp.c
12 +++ b/src/trace-udp.c
13 @@ -24,6 +24,7 @@
14
15 #undef _GNU_SOURCE
16 #define _BSD_SOURCE 1
17 +#define __FAVOR_BSD 1
18
19 #include <string.h>
20 #include <stdbool.h>