From: Glauber Costa Subject: [PATCH] net: explicitly add jump_label.h header to sock.h Date: Fri, 27 Jan 2012 02:09:28 +0400 Message-ID: <1327615768-13709-1-git-send-email-glommer@parallels.com> Cc: geert@linux-m68k.org, netdev@vger.kernel.org, sfr@canb.auug.org.au, Glauber Costa To: davem@davemloft.net Return-path: Received: from mailhub.sw.ru ([195.214.232.25]:25982 "EHLO relay.sw.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752333Ab2AZWJr (ORCPT ); Thu, 26 Jan 2012 17:09:47 -0500 Sender: netdev-owner@vger.kernel.org List-ID: Commit 36a1211970193ce215de50ed1e4e1272bc814df1 removed linux/module.h include statement from one of the headers that end up in net/sock.h. It was providing us with static_branch() definition implicitly, so after its removal the build got broken. To fix this, and avoid having this happening in the future, let me do the right thing and include linux/jump_label.h explicitly in sock.h. Signed-off-by: Glauber Costa Reported-by: Randy Dunlap CC: David S. Miller --- include/net/sock.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/net/sock.h b/include/net/sock.h index 4c69ac1..91c1c8b 100644 --- a/include/net/sock.h +++ b/include/net/sock.h @@ -55,6 +55,7 @@ #include #include #include +#include #include #include -- 1.7.7.4