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-Url: https://git.stricted.de/?a=commitdiff_plain;h=9018e93948c6f8f95fbcc9fa05f6c403d6adb406;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.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 4c69ac165e6..91c1c8baf02 100644 --- a/include/net/sock.h +++ b/include/net/sock.h @@ -55,6 +55,7 @@ #include #include #include +#include #include #include