Return-Path: From: Simon Wunderlich Date: Fri, 15 Dec 2017 12:43:10 +0100 Message-Id: <20171215114320.13645-11-sw@simonwunderlich.de> In-Reply-To: <20171215114320.13645-1-sw@simonwunderlich.de> References: <20171215114320.13645-1-sw@simonwunderlich.de> Subject: [B.A.T.M.A.N.] [PATCH 10/20] batman-adv: Include net.h for net_ratelimited_function List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: davem@davemloft.net Cc: netdev@vger.kernel.org, b.a.t.m.a.n@lists.open-mesh.org, Sven Eckelmann , Simon Wunderlich From: Sven Eckelmann 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 --- 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 f614d74fe74a..64f14f66a56b 100644 --- a/net/batman-adv/network-coding.c +++ b/net/batman-adv/network-coding.c @@ -38,6 +38,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 db7a67ee9599..ce90bfd70cd2 100644 --- a/net/batman-adv/translation-table.c +++ b/net/batman-adv/translation-table.c @@ -39,6 +39,7 @@ #include #include #include +#include #include #include #include -- 2.11.0