On Saturday 06 September 2008 16:46, Vic wrote: > > Apparently networking/ifenslave.c simply forgot to include it. > > Ah - thanks. > > I thought I was being an eejit :-)
Did it work for you? Because for me on uclibc, it did not. Please try modified one. -- vda
diff -d -urpN busybox.5/networking/ifenslave.c busybox.6/networking/ifenslave.c --- busybox.5/networking/ifenslave.c 2008-09-05 06:59:10.000000000 +0200 +++ busybox.6/networking/ifenslave.c 2008-09-06 16:55:15.000000000 +0200 @@ -100,14 +100,19 @@ #include "libbb.h" +/* #include <net/if.h> - no. linux/if_bonding.h pulls in linux/if.h */ #include <net/if_arp.h> #include <linux/if_bonding.h> #include <linux/sockios.h> -typedef unsigned long long u64; /* hack, so we may include kernel's ethtool.h */ -typedef uint32_t u32; /* ditto */ -typedef uint16_t u16; /* ditto */ -typedef uint8_t u8; /* ditto */ +#ifndef IFNAMSIZ +#define IFNAMSIZ 16 +#endif + +typedef uint64_t u64; /* hack, so we may include kernel's ethtool.h */ +typedef uint32_t u32; /* ditto */ +typedef uint16_t u16; /* ditto */ +typedef uint8_t u8; /* ditto */ #include <linux/ethtool.h>
_______________________________________________ busybox mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/busybox
