From: Denys Vlasenko Date: Wed, 23 Sep 2009 21:47:52 +0000 (+0200) Subject: ifenslave: fix for 2.4 kernels compile X-Git-Tag: 1_16_0~461 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ecb179b6d72c58acbdbc707538d7562bc1c0a880;p=oweals%2Fbusybox.git ifenslave: fix for 2.4 kernels compile Signed-off-by: Denys Vlasenko --- diff --git a/networking/ifenslave.c b/networking/ifenslave.c index 218000708..28f0c0b6b 100644 --- a/networking/ifenslave.c +++ b/networking/ifenslave.c @@ -101,13 +101,15 @@ #include "libbb.h" /* #include - no. linux/if_bonding.h pulls in linux/if.h */ +#include #include #include #include - #include "fix_u32.h" /* hack, so we may include kernel's ethtool.h */ #include - +#ifndef BOND_ABI_VERSION +# define BOND_ABI_VERSION 2 +#endif #ifndef IFNAMSIZ # define IFNAMSIZ 16 #endif