Repository : ssh://git@open-mesh.org/batman-adv
On branch : master
commit b404aa5573d38761eb7fbc7f8007d3b8a642e1bf Author: Sven Eckelmann sven@narfation.org Date: Sun Nov 19 17:12:04 2017 +0100
batman-adv: Include net.h for net_ratelimited_function
The linux/net.h provides the net_ratelimited_function. It should therefore be included directly before it is used.
Signed-off-by: Sven Eckelmann sven@narfation.org
b404aa5573d38761eb7fbc7f8007d3b8a642e1bf net/batman-adv/network-coding.c | 1 + net/batman-adv/translation-table.c | 1 + 2 files changed, 2 insertions(+)
diff --git a/net/batman-adv/network-coding.c b/net/batman-adv/network-coding.c index f614d74f..64f14f66 100644 --- a/net/batman-adv/network-coding.c +++ b/net/batman-adv/network-coding.c @@ -38,6 +38,7 @@ #include <linux/kref.h> #include <linux/list.h> #include <linux/lockdep.h> +#include <linux/net.h> #include <linux/netdevice.h> #include <linux/printk.h> #include <linux/random.h> diff --git a/net/batman-adv/translation-table.c b/net/batman-adv/translation-table.c index db7a67ee..ce90bfd7 100644 --- a/net/batman-adv/translation-table.c +++ b/net/batman-adv/translation-table.c @@ -39,6 +39,7 @@ #include <linux/kref.h> #include <linux/list.h> #include <linux/lockdep.h> +#include <linux/net.h> #include <linux/netdevice.h> #include <linux/netlink.h> #include <linux/rculist.h>