diff options
-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 218000708..28f0c0b6b 100644 --- a/networking/ifenslave.c +++ b/networking/ifenslave.c | |||
@@ -101,13 +101,15 @@ | |||
101 | #include "libbb.h" | 101 | #include "libbb.h" |
102 | 102 | ||
103 | /* #include <net/if.h> - no. linux/if_bonding.h pulls in linux/if.h */ | 103 | /* #include <net/if.h> - no. linux/if_bonding.h pulls in linux/if.h */ |
104 | #include <linux/if.h> | ||
104 | #include <net/if_arp.h> | 105 | #include <net/if_arp.h> |
105 | #include <linux/if_bonding.h> | 106 | #include <linux/if_bonding.h> |
106 | #include <linux/sockios.h> | 107 | #include <linux/sockios.h> |
107 | |||
108 | #include "fix_u32.h" /* hack, so we may include kernel's ethtool.h */ | 108 | #include "fix_u32.h" /* hack, so we may include kernel's ethtool.h */ |
109 | #include <linux/ethtool.h> | 109 | #include <linux/ethtool.h> |
110 | 110 | #ifndef BOND_ABI_VERSION | |
111 | # define BOND_ABI_VERSION 2 | ||
112 | #endif | ||
111 | #ifndef IFNAMSIZ | 113 | #ifndef IFNAMSIZ |
112 | # define IFNAMSIZ 16 | 114 | # define IFNAMSIZ 16 |
113 | #endif | 115 | #endif |