Skip to contentSkip to conversation

batman-adv: Add missing headers for bool type

PATCH Applied Sven Eckelmann 2 participants 2 messages Feb 29, 2016 – Mar 20, 2016 Batman advanced

lore
Share & tools
lore

Sven Eckelmann

author maintainer
#0 lore raw

PATCH 1/1 batman-adv: Add missing headers for bool type

Fixes d58a13597ec2 ("batman-adv: Use bool as return type for boolean functions")
---
 net/batman-adv/bitarray.h       | 1 +
 net/batman-adv/soft-interface.h | 1 +
 2 files changed, 2 insertions(+)
net/batman-adv/bitarray.h +1 -0
index f93cbc7..0e6e9d0 100644
@@ -22,6 +22,7 @@
 
 #include <linux/bitops.h>
 #include <linux/compiler.h>
+#include <linux/stddef.h>
 #include <linux/types.h>
 
 /**
net/batman-adv/soft-interface.h +1 -0
index 417d30a..0c5ab40 100644
@@ -20,6 +20,7 @@
 
 #include "main.h"
 
+#include <linux/types.h>
 #include <net/rtnetlink.h>
 
 struct net_device;
#1 lore raw
Quoted 6 lines · 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 <[email protected]>

---
 net/batman-adv/bitarray.h       | 1 +
 net/batman-adv/soft-interface.h | 1 +
 2 files changed, 2 insertions(+)

Applied in revision 2bf6bf5.

Thanks,
Marek