aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/packet.h
diff options
context:
space:
mode:
authorSven Eckelmann <sven.eckelmann@openmesh.com>2017-12-21 10:17:38 +0100
committerDavid S. Miller <davem@davemloft.net>2017-12-21 15:35:53 -0500
commit4e58452b6fc391c35611693b12a3f97bd60f6da8 (patch)
treed89b77ff91ad2749ce35cb7227025cdd53f90591 /net/batman-adv/packet.h
parentMerge branch 'sfc-Medford2' (diff)
downloadlinux-dev-4e58452b6fc391c35611693b12a3f97bd60f6da8.tar.xz
linux-dev-4e58452b6fc391c35611693b12a3f97bd60f6da8.zip
batman-adv: Let packet.h include its headers directly
The headers used by packet.h should also be included by it directly. main.h is currently dealing with it in batman-adv, but this will no longer work when this header is moved to include/uapi/linux/. Signed-off-by: Sven Eckelmann <sven.eckelmann@openmesh.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/batman-adv/packet.h')
-rw-r--r--net/batman-adv/packet.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/batman-adv/packet.h b/net/batman-adv/packet.h
index dccbd4a6f019..6b6563867455 100644
--- a/net/batman-adv/packet.h
+++ b/net/batman-adv/packet.h
@@ -20,6 +20,8 @@
#define _NET_BATMAN_ADV_PACKET_H_
#include <asm/byteorder.h>
+#include <linux/bitops.h>
+#include <linux/if_ether.h>
#include <linux/types.h>
/**