tools/mkimage: fix musl build
[openwrt/openwrt.git] / package / network / utils / iputils / patches / 011-ping6_use_gnu_source.patch
1 --- a/ping6.c
2 +++ b/ping6.c
3 @@ -66,6 +66,8 @@ char copyright[] =
4 * More statistics could always be gathered.
5 * This program has to run SUID to ROOT to access the ICMP socket.
6 */
7 +
8 +#define _GNU_SOURCE
9 #include "ping_common.h"
10
11 #include <linux/filter.h>