Between 2.6.30 and 2.6.31, linux/netdevice.h started to include linux/ethtool.h (commit b1b67dd45a6b629eb41553856805aaa1614fbb83, "net: factor out ethtool invocation of vlan/macvlan drivers"), and commit 7508e486965b0af13984bc6d9da62a8d8f0dc5f9, "cfg80211: add firmware and hardware version to wiphy", introduces dependency of ETHTOOL_BUSINFO_LEN from linux/ethtool.h to net/cfg80211.h . Signed-off-by: Hin-Tak Leung <htl10@xxxxxxxxxxxxxxxxxxxxx> --- compat/compat-2.6.31.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/compat/compat-2.6.31.h b/compat/compat-2.6.31.h index 154209c..e46334a 100644 --- a/compat/compat-2.6.31.h +++ b/compat/compat-2.6.31.h @@ -12,6 +12,7 @@ #include <linux/interrupt.h> #include <net/dst.h> #include <net/genetlink.h> +#include <linux/ethtool.h> /* * These macros allow us to backport rfkill without any -- 1.6.5.rc2 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html