aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/tp_meter.c
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2019-05-24 16:28:50 +0200
committerSimon Wunderlich <sw@simonwunderlich.de>2019-05-25 12:59:53 +0200
commite1928752988bd95316676fea234475327726e22d (patch)
tree5bbd27090ebc329833ce5f127d46907cad46c19e /net/batman-adv/tp_meter.c
parentbatman-adv: Start new development cycle (diff)
downloadlinux-dev-e1928752988bd95316676fea234475327726e22d.tar.xz
linux-dev-e1928752988bd95316676fea234475327726e22d.zip
batman-adv: Fix includes for *_MAX constants
The commit 54d50897d544 ("linux/kernel.h: split *_MAX and *_MIN macros into <linux/limits.h>") moved the U32_MAX/INT_MAX/ULONG_MAX from linux/kernel.h to linux/limits.h. Adjust the includes accordingly. Signed-off-by: Sven Eckelmann <sven@narfation.org> Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to '')
-rw-r--r--net/batman-adv/tp_meter.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/batman-adv/tp_meter.c b/net/batman-adv/tp_meter.c
index 820392146249..dd6a9a40dbb9 100644
--- a/net/batman-adv/tp_meter.c
+++ b/net/batman-adv/tp_meter.c
@@ -21,6 +21,7 @@
#include <linux/kernel.h>
#include <linux/kref.h>
#include <linux/kthread.h>
+#include <linux/limits.h>
#include <linux/list.h>
#include <linux/netdevice.h>
#include <linux/param.h>