Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9018e939 authored by Glauber Costa's avatar Glauber Costa Committed by David S. Miller
Browse files

net: explicitly add jump_label.h header to sock.h



Commit 36a12119 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: default avatarGlauber Costa <glommer@parallels.com>
Reported-by: default avatarRandy Dunlap <rdunlap@xenotime.net>
CC: David S. Miller <davem@davemloft.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f18da145
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -55,6 +55,7 @@
#include <linux/uaccess.h>
#include <linux/memcontrol.h>
#include <linux/res_counter.h>
#include <linux/jump_label.h>

#include <linux/filter.h>
#include <linux/rculist_nulls.h>