← Commit list

ecb179b6d

Denys Vlasenko
Denys Vlasenko
2009-09-23
FAILED Duration: 39s

Subject

ifenslave: fix for 2.4 kernels compile

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

networking/ifenslave.c+4 -2
@@ -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