From: Sven Eckelmann Date: Sun, 19 Nov 2017 16:12:04 +0000 (+0100) Subject: batman-adv: Include net.h for net_ratelimited_function X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=3a64469e4fddeeca8e6fba7ea4e9558a4af3a1c8;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Simon Wunderlich --- 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 #include #include +#include #include #include #include diff --git a/net/batman-adv/translation-table.c b/net/batman-adv/translation-table.c index 27a0c34a5ad0..b4b20ad1ed9a 100644 --- a/net/batman-adv/translation-table.c +++ b/net/batman-adv/translation-table.c @@ -37,6 +37,7 @@ #include #include #include +#include #include #include #include