svn commit: trunk/busybox/networking

vapier at busybox.net vapier at busybox.net
Fri Mar 10 23:41:30 UTC 2006


Author: vapier
Date: 2006-03-10 15:41:29 -0800 (Fri, 10 Mar 2006)
New Revision: 14519

Log:
fix building with glibc-2.4

Modified:
   trunk/busybox/networking/ping6.c


Changeset:
Modified: trunk/busybox/networking/ping6.c
===================================================================
--- trunk/busybox/networking/ping6.c	2006-03-10 23:40:36 UTC (rev 14518)
+++ trunk/busybox/networking/ping6.c	2006-03-10 23:41:29 UTC (rev 14519)
@@ -236,6 +236,16 @@
 	}
 }
 
+/* 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) {




More information about the busybox-cvs mailing list