aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-03-10 23:41:29 +0000
committerMike Frysinger <vapier@gentoo.org>2006-03-10 23:41:29 +0000
commit9e094552c8ca9f7e518a071f12eeafda81e2423b (patch)
treea881e3831eca62659447ef5ddee71bf81e875d25
parentc70240cc1d80a9fdf468258f06af315c16d75168 (diff)
downloadbusybox-9e094552c8ca9f7e518a071f12eeafda81e2423b.tar.gz
fix building with glibc-2.4
-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)
}
}
+/* libc defines have changed around on us, whee ! */
+#ifndef ICMP6_MEMBERSHIP_QUERY
+# define ICMP6_MEMBERSHIP_QUERY MLD_LISTENER_QUERY
+#endif
+#ifndef ICMP6_MEMBERSHIP_REPORT
+# define ICMP6_MEMBERSHIP_REPORT MLD_LISTENER_REPORT
+#endif
+#ifndef ICMP6_MEMBERSHIP_REDUCTION
+# define ICMP6_MEMBERSHIP_REDUCTION MLD_LISTENER_REDUCTION
+#endif
static char *icmp6_type_name (int id)
{
switch (id) {