Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756083AbdLOSXg (ORCPT ); Fri, 15 Dec 2017 13:23:36 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:46986 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755534AbdLOSXb (ORCPT ); Fri, 15 Dec 2017 13:23:31 -0500 X-Google-Smtp-Source: ACJfBou3gVcUA3NScO4mVKA/MQMf3kG5tmTVaMkBapaCkjkzKslcE9bnPYG0oX1SUl5AMziTE4eMEg== From: Sven Eckelmann To: netdev@vger.kernel.org Cc: b.a.t.m.a.n@lists.open-mesh.org, Eric Dumazet , linux-kernel@vger.kernel.org, Jiri Pirko , "David S . Miller" , Willem de Bruijn , Tom Herbert , Sven Eckelmann Subject: [RFC v3 1/4] batman-adv: Let packet.h include its headers directly Date: Fri, 15 Dec 2017 19:23:10 +0100 Message-Id: <20171215182313.15767-2-sven.eckelmann@openmesh.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171215182313.15767-1-sven.eckelmann@openmesh.com> References: <20171215182313.15767-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 5ac86df48c42..d5484ac381d3 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 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 +#include +#include #include /** -- 2.11.0