From: Glauber Costa Date: Thu, 26 Jan 2012 12:09:28 +0000 (+0000) Subject: net: explicitly add jump_label.h header to sock.h X-Git-Tag: v3.3-rc2~6^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9018e93948c6f8f95fbcc9fa05f6c403d6adb406;p=profile%2Fcommon%2Fkernel-common.git net: explicitly add jump_label.h header to sock.h 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 Signed-off-by: David S. Miller --- 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