summaryrefslogtreecommitdiff
path: root/package/network/utils/iputils/patches/011-ping6_use_gnu_source.patch
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-10-10 13:22:18 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-10-10 13:22:18 +0000
commit936c1b9424ec53f450a3b62ac2d8a9155d45ae88 (patch)
treec3d55d0736d0f354d8b1ca58e05cc82a5d0ef8b6 /package/network/utils/iputils/patches/011-ping6_use_gnu_source.patch
parent8230e20a799f5391ca5b5560abc6148d10e8a8d6 (diff)
downloadmtk-20170518-936c1b9424ec53f450a3b62ac2d8a9155d45ae88.zip
mtk-20170518-936c1b9424ec53f450a3b62ac2d8a9155d45ae88.tar.gz
mtk-20170518-936c1b9424ec53f450a3b62ac2d8a9155d45ae88.tar.bz2
iputils: move to trunk and add myself as maintainer
SVN-Revision: 33704
Diffstat (limited to 'package/network/utils/iputils/patches/011-ping6_use_gnu_source.patch')
-rw-r--r--package/network/utils/iputils/patches/011-ping6_use_gnu_source.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/network/utils/iputils/patches/011-ping6_use_gnu_source.patch b/package/network/utils/iputils/patches/011-ping6_use_gnu_source.patch
new file mode 100644
index 0000000..dc61b8c
--- /dev/null
+++ b/package/network/utils/iputils/patches/011-ping6_use_gnu_source.patch
@@ -0,0 +1,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>