diff options
author | Philipp Zabel <philipp.zabel@gmail.com> | 2006-03-15 16:56:00 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-03-15 16:56:00 +0000 |
commit | a676024690e8b20327ff6886097f73b761ff4c0c (patch) | |
tree | de1f5467e077c995032a127185d284f37c41279b /packages/busybox/files | |
parent | eec3a2fdeff17dd79e5df962f7ca0d9d009802a9 (diff) |
busybox-1.01: make ping6.c compile against glibc-2.4
Diffstat (limited to 'packages/busybox/files')
-rw-r--r-- | packages/busybox/files/glibc2.4-icmp6.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/packages/busybox/files/glibc2.4-icmp6.patch b/packages/busybox/files/glibc2.4-icmp6.patch new file mode 100644 index 0000000000..3cec1dd31a --- /dev/null +++ b/packages/busybox/files/glibc2.4-icmp6.patch @@ -0,0 +1,15 @@ +--- busybox-1.01/networking/ping6.c.orig 2006-03-15 15:43:21.000000000 +0100 ++++ busybox-1.01/networking/ping6.c 2006-03-15 15:49:29.000000000 +0100 +@@ -56,6 +56,12 @@ + #include <stddef.h> /* offsetof */ + #include "busybox.h" + ++#ifndef ICMP6_MEMBERSHIP_QUERY /* glibc >= 2.4 */ ++#define ICMP6_MEMBERSHIP_QUERY MLD_LISTENER_QUERY ++#define ICMP6_MEMBERSHIP_REPORT MLD_LISTENER_REPORT ++#define ICMP6_MEMBERSHIP_REDUCTION MLD_LISTENER_REDUCTION ++#endif ++ + static const int DEFDATALEN = 56; + static const int MAXIPLEN = 60; + static const int MAXICMPLEN = 76; |