提交 4e58452b 编写于 作者: S Sven Eckelmann 提交者: David S. Miller

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: NSven Eckelmann <sven.eckelmann@openmesh.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 a0e2e75a
...@@ -217,10 +217,8 @@ enum batadv_uev_type { ...@@ -217,10 +217,8 @@ enum batadv_uev_type {
/* Kernel headers */ /* Kernel headers */
#include <linux/bitops.h> /* for packet.h */
#include <linux/compiler.h> #include <linux/compiler.h>
#include <linux/etherdevice.h> #include <linux/etherdevice.h>
#include <linux/if_ether.h> /* for packet.h */
#include <linux/if_vlan.h> #include <linux/if_vlan.h>
#include <linux/jiffies.h> #include <linux/jiffies.h>
#include <linux/percpu.h> #include <linux/percpu.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
#define _NET_BATMAN_ADV_PACKET_H_ #define _NET_BATMAN_ADV_PACKET_H_
#include <asm/byteorder.h> #include <asm/byteorder.h>
#include <linux/bitops.h>
#include <linux/if_ether.h>
#include <linux/types.h> #include <linux/types.h>
/** /**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册