aboutsummaryrefslogtreecommitdiff
path: root/networking/ping6.c
diff options
context:
space:
mode:
authorvapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-03-10 23:41:29 +0000
committervapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-03-10 23:41:29 +0000
commit5a7b9659686caec16eb4097cefb1c38c906bc98c (patch)
treea881e3831eca62659447ef5ddee71bf81e875d25 /networking/ping6.c
parent50b000f0dcd01a4b692d658ecc9207d407eadd03 (diff)
downloadbusybox-w32-5a7b9659686caec16eb4097cefb1c38c906bc98c.tar.gz
busybox-w32-5a7b9659686caec16eb4097cefb1c38c906bc98c.tar.bz2
busybox-w32-5a7b9659686caec16eb4097cefb1c38c906bc98c.zip
fix building with glibc-2.4
git-svn-id: svn://busybox.net/trunk/busybox@14519 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'networking/ping6.c')
-rw-r--r--networking/ping6.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/networking/ping6.c b/networking/ping6.c
index 72d1d667a..47ab7c154 100644
--- a/networking/ping6.c
+++ b/networking/ping6.c
@@ -236,6 +236,16 @@ static void sendping(int junk)
236 } 236 }
237} 237}
238 238
239/* libc defines have changed around on us, whee ! */
240#ifndef ICMP6_MEMBERSHIP_QUERY
241# define ICMP6_MEMBERSHIP_QUERY MLD_LISTENER_QUERY
242#endif
243#ifndef ICMP6_MEMBERSHIP_REPORT
244# define ICMP6_MEMBERSHIP_REPORT MLD_LISTENER_REPORT
245#endif
246#ifndef ICMP6_MEMBERSHIP_REDUCTION
247# define ICMP6_MEMBERSHIP_REDUCTION MLD_LISTENER_REDUCTION
248#endif
239static char *icmp6_type_name (int id) 249static char *icmp6_type_name (int id)
240{ 250{
241 switch (id) { 251 switch (id) {