diff options
Diffstat (limited to 'meta/packages/busybox/files/glibc2.4-icmp6.patch')
-rw-r--r-- | meta/packages/busybox/files/glibc2.4-icmp6.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/meta/packages/busybox/files/glibc2.4-icmp6.patch b/meta/packages/busybox/files/glibc2.4-icmp6.patch new file mode 100644 index 0000000000..3cec1dd31a --- /dev/null +++ b/meta/packages/busybox/files/glibc2.4-icmp6.patch | |||
@@ -0,0 +1,15 @@ | |||
1 | --- busybox-1.01/networking/ping6.c.orig 2006-03-15 15:43:21.000000000 +0100 | ||
2 | +++ busybox-1.01/networking/ping6.c 2006-03-15 15:49:29.000000000 +0100 | ||
3 | @@ -56,6 +56,12 @@ | ||
4 | #include <stddef.h> /* offsetof */ | ||
5 | #include "busybox.h" | ||
6 | |||
7 | +#ifndef ICMP6_MEMBERSHIP_QUERY /* glibc >= 2.4 */ | ||
8 | +#define ICMP6_MEMBERSHIP_QUERY MLD_LISTENER_QUERY | ||
9 | +#define ICMP6_MEMBERSHIP_REPORT MLD_LISTENER_REPORT | ||
10 | +#define ICMP6_MEMBERSHIP_REDUCTION MLD_LISTENER_REDUCTION | ||
11 | +#endif | ||
12 | + | ||
13 | static const int DEFDATALEN = 56; | ||
14 | static const int MAXIPLEN = 60; | ||
15 | static const int MAXICMPLEN = 76; | ||