mirror of
https://github.com/sheumann/hush.git
synced 2025-01-13 21:31:51 +00:00
ifenslave: fix for 2.4 kernels compile
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
606291beab
commit
ecb179b6d7
@ -101,13 +101,15 @@
|
|||||||
#include "libbb.h"
|
#include "libbb.h"
|
||||||
|
|
||||||
/* #include <net/if.h> - no. linux/if_bonding.h pulls in linux/if.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 <net/if_arp.h>
|
||||||
#include <linux/if_bonding.h>
|
#include <linux/if_bonding.h>
|
||||||
#include <linux/sockios.h>
|
#include <linux/sockios.h>
|
||||||
|
|
||||||
#include "fix_u32.h" /* hack, so we may include kernel's ethtool.h */
|
#include "fix_u32.h" /* hack, so we may include kernel's ethtool.h */
|
||||||
#include <linux/ethtool.h>
|
#include <linux/ethtool.h>
|
||||||
|
#ifndef BOND_ABI_VERSION
|
||||||
|
# define BOND_ABI_VERSION 2
|
||||||
|
#endif
|
||||||
#ifndef IFNAMSIZ
|
#ifndef IFNAMSIZ
|
||||||
# define IFNAMSIZ 16
|
# define IFNAMSIZ 16
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user