Signed-off-by: Markus Pargmann <[email protected]>
---
 packet.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/packet.h b/packet.h
index facd1feddd4e..5fd0d814b6de 100644
--- a/packet.h
+++ b/packet.h
@@ -18,6 +18,11 @@
 #ifndef _NET_BATMAN_ADV_PACKET_H_
 #define _NET_BATMAN_ADV_PACKET_H_
 
+#ifdef __KERNEL__
+#include <linux/bitops.h>
+#include <uapi/linux/if_ether.h>
+#endif /* __KERNEL__ */
+
 /**
  * enum batadv_packettype - types for batman-adv encapsulated packets
  * @BATADV_IV_OGM: originator messages for B.A.T.M.A.N. IV
-- 
2.1.3

Reply via email to