diff options
author | Sven Eckelmann <sven@narfation.org> | 2019-05-24 16:28:50 +0200 |
---|---|---|
committer | Simon Wunderlich <sw@simonwunderlich.de> | 2019-05-25 12:59:53 +0200 |
commit | e1928752988bd95316676fea234475327726e22d (patch) | |
tree | 5bbd27090ebc329833ce5f127d46907cad46c19e /net/batman-adv/sysfs.c | |
parent | eef98918c88eaeb922e6e82b983419cb2acfda5b (diff) | |
download | linux-stable-e1928752988bd95316676fea234475327726e22d.tar.gz linux-stable-e1928752988bd95316676fea234475327726e22d.tar.bz2 linux-stable-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 'net/batman-adv/sysfs.c')
-rw-r--r-- | net/batman-adv/sysfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/batman-adv/sysfs.c b/net/batman-adv/sysfs.c index 80fc3253c336..1efcb97039cd 100644 --- a/net/batman-adv/sysfs.c +++ b/net/batman-adv/sysfs.c @@ -18,6 +18,7 @@ #include <linux/kernel.h> #include <linux/kobject.h> #include <linux/kref.h> +#include <linux/limits.h> #include <linux/netdevice.h> #include <linux/printk.h> #include <linux/rculist.h> |