From ecb179b6d72c58acbdbc707538d7562bc1c0a880 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 23 Sep 2009 23:47:52 +0200 Subject: [PATCH] ifenslave: fix for 2.4 kernels compile Signed-off-by: Denys Vlasenko --- networking/ifenslave.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 -- 2.25.1