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