Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752799AbdLEOgV (ORCPT ); Tue, 5 Dec 2017 09:36:21 -0500 Received: from mail-qt0-f196.google.com ([209.85.216.196]:39381 "EHLO mail-qt0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752538AbdLEOgO (ORCPT ); Tue, 5 Dec 2017 09:36:14 -0500 X-Google-Smtp-Source: AGs4zMZnfAVR6vXvP9Fvj9LfOxGN/PzM7Znw6p4bxy5vDJdpqwsTY1wMS3UbA42OahLIbE6Rxk0CMQ== From: Sven Eckelmann To: netdev@vger.kernel.org Cc: "David S . Miller" , Jiri Pirko , Eric Dumazet , linux-kernel@vger.kernel.org, b.a.t.m.a.n@lists.open-mesh.org, Sven Eckelmann Subject: [RFC v2 3/6] batman-adv: Let packet.h include its headers directly Date: Tue, 5 Dec 2017 15:35:11 +0100 Message-Id: <20171205143514.4441-4-sven.eckelmann@openmesh.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171205143514.4441-1-sven.eckelmann@openmesh.com> References: <20171205143514.4441-1-sven.eckelmann@openmesh.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1188 Lines: 40 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 --- net/batman-adv/main.h | 2 -- net/batman-adv/packet.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/batman-adv/main.h b/net/batman-adv/main.h index 69c2ab666961..231bbc47910e 100644 --- a/net/batman-adv/main.h +++ b/net/batman-adv/main.h @@ -219,10 +219,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 ebe0605d1505..0d011012c71a 100644 --- a/net/batman-adv/packet.h +++ b/net/batman-adv/packet.h @@ -22,6 +22,8 @@ #define _NET_BATMAN_ADV_PACKET_H_ #include +#include +#include #include /** -- 2.11.0