From: Sven Eckelmann Date: Thu, 21 Dec 2017 10:17:38 +0100 Subject: [PATCH] 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 Signed-off-by: David S. Miller --- --- a/net/batman-adv/main.h +++ b/net/batman-adv/main.h @@ -184,10 +184,8 @@ enum batadv_uev_type { /* Kernel headers */ -#include /* for packet.h */ #include #include -#include /* for packet.h */ #include #include #include --- a/net/batman-adv/packet.h +++ b/net/batman-adv/packet.h @@ -19,6 +19,8 @@ #define _NET_BATMAN_ADV_PACKET_H_ #include +#include +#include #include #define batadv_tp_is_error(n) ((u8)(n) > 127 ? 1 : 0)