diff options
author | Denys Vlasenko | 2009-09-23 23:47:52 +0200 |
---|---|---|
committer | Denys Vlasenko | 2009-09-23 23:47:52 +0200 |
commit | ecb179b6d72c58acbdbc707538d7562bc1c0a880 (patch) | |
tree | 3f116be1a1e265fd19a359611c7dfc3c96a410ca /networking/ifenslave.c | |
parent | 606291beabab14c85a141c7a4225fbcab8d19fbd (diff) | |
download | busybox-ecb179b6d72c58acbdbc707538d7562bc1c0a880.zip busybox-ecb179b6d72c58acbdbc707538d7562bc1c0a880.tar.gz |
ifenslave: fix for 2.4 kernels compile
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/ifenslave.c')
-rw-r--r-- | networking/ifenslave.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/networking/ifenslave.c b/networking/ifenslave.c index 2180007..28f0c0b 100644 --- a/networking/ifenslave.c +++ b/networking/ifenslave.c @@ -101,13 +101,15 @@ #include "libbb.h" /* #include <net/if.h> - no. linux/if_bonding.h pulls in linux/if.h */ +#include <linux/if.h> #include <net/if_arp.h> #include <linux/if_bonding.h> #include <linux/sockios.h> - #include "fix_u32.h" /* hack, so we may include kernel's ethtool.h */ #include <linux/ethtool.h> - +#ifndef BOND_ABI_VERSION +# define BOND_ABI_VERSION 2 +#endif #ifndef IFNAMSIZ # define IFNAMSIZ 16 #endif |