aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/network-coding.c
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2017-11-19 17:12:04 +0100
committerSimon Wunderlich <sw@simonwunderlich.de>2017-12-15 17:29:17 +0100
commit3a64469e4fddeeca8e6fba7ea4e9558a4af3a1c8 (patch)
tree90303c6b17f03570a3ffee2b48ec902e98e81c4f /net/batman-adv/network-coding.c
parentbatman-adv: include build_bug.h for BUILD_BUG_ON define (diff)
downloadlinux-dev-3a64469e4fddeeca8e6fba7ea4e9558a4af3a1c8.tar.xz
linux-dev-3a64469e4fddeeca8e6fba7ea4e9558a4af3a1c8.zip
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> Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'net/batman-adv/network-coding.c')
-rw-r--r--net/batman-adv/network-coding.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/batman-adv/network-coding.c b/net/batman-adv/network-coding.c
index d37fe5ed6117..bd421408d9e7 100644
--- a/net/batman-adv/network-coding.c
+++ b/net/batman-adv/network-coding.c
@@ -36,6 +36,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>