batman-adv: Add missing headers for bool type

Message ID 1456732267-7560-1-git-send-email-sven@narfation.org (mailing list archive)
State Accepted, archived
Commit 2bf6bf58b34c1eddd509703c65bf69d5c543a3fa
Delegated to: Marek Lindner
Headers

Commit Message

Sven Eckelmann Feb. 29, 2016, 7:51 a.m. UTC
  Fixes: d58a13597ec2 ("batman-adv: Use bool as return type for boolean functions")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
---
 net/batman-adv/bitarray.h       | 1 +
 net/batman-adv/soft-interface.h | 1 +
 2 files changed, 2 insertions(+)
  

Comments

Marek Lindner March 20, 2016, 10:33 a.m. UTC | #1
On Monday, February 29, 2016 08:51:07 Sven Eckelmann wrote:
> Fixes: d58a13597ec2 ("batman-adv: Use bool as return type for boolean
> functions") Signed-off-by: Sven Eckelmann <sven@narfation.org>
> ---
>  net/batman-adv/bitarray.h       | 1 +
>  net/batman-adv/soft-interface.h | 1 +
>  2 files changed, 2 insertions(+)

Applied in revision 2bf6bf5.

Thanks,
Marek
  

Patch

diff --git a/net/batman-adv/bitarray.h b/net/batman-adv/bitarray.h
index f93cbc7..0e6e9d0 100644
--- a/net/batman-adv/bitarray.h
+++ b/net/batman-adv/bitarray.h
@@ -22,6 +22,7 @@ 
 
 #include <linux/bitops.h>
 #include <linux/compiler.h>
+#include <linux/stddef.h>
 #include <linux/types.h>
 
 /**
diff --git a/net/batman-adv/soft-interface.h b/net/batman-adv/soft-interface.h
index 417d30a..0c5ab40 100644
--- a/net/batman-adv/soft-interface.h
+++ b/net/batman-adv/soft-interface.h
@@ -20,6 +20,7 @@ 
 
 #include "main.h"
 
+#include <linux/types.h>
 #include <net/rtnetlink.h>
 
 struct net_device;