From: Sven Eckelmann Date: Thu, 21 Dec 2017 09:17:38 +0000 (+0100) Subject: batman-adv: Let packet.h include its headers directly X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=4e58452b6fc391c35611693b12a3f97bd60f6da8;p=linux.git 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 --- diff --git a/net/batman-adv/main.h b/net/batman-adv/main.h index 5ac86df48c42d..d5484ac381d39 100644 --- a/net/batman-adv/main.h +++ b/net/batman-adv/main.h @@ -217,10 +217,8 @@ enum batadv_uev_type { /* Kernel headers */ -#include /* for packet.h */ #include #include -#include /* for packet.h */ #include #include #include diff --git a/net/batman-adv/packet.h b/net/batman-adv/packet.h index dccbd4a6f019e..6b65638674559 100644 --- a/net/batman-adv/packet.h +++ b/net/batman-adv/packet.h @@ -20,6 +20,8 @@ #define _NET_BATMAN_ADV_PACKET_H_ #include +#include +#include #include /**