From: David S. Miller Date: Tue, 21 Sep 2010 23:12:11 +0000 (-0700) Subject: ethtool: Fix build due to lack of ethtool.h include. X-Git-Tag: v2.6.37-rc1~147^2~386 X-Git-Url: https://bbs.cooldavid.org/git/?p=net-next-2.6.git;a=commitdiff_plain;h=73da16c28ed0724755afdb95c7dd6b166381be10 ethtool: Fix build due to lack of ethtool.h include. net/core/ethtool.c: In function 'ethtool_get_regs': net/core/ethtool.c:818:2: error: implicit declaration of function 'vmalloc' net/core/ethtool.c:818:9: warning: assignment makes pointer from integer without a cast net/core/ethtool.c:833:2: error: implicit declaration of function 'vfree' Signed-off-by: David S. Miller --- diff --git a/net/core/ethtool.c b/net/core/ethtool.c index dae2fd053c2..7d7e572cedc 100644 --- a/net/core/ethtool.c +++ b/net/core/ethtool.c @@ -19,6 +19,7 @@ #include #include #include +#include #include /*