From patchwork Sat Sep 4 16:30:51 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Eckelmann X-Patchwork-Id: 393 Return-Path: Received: from mail.gmx.net (mailout-de.gmx.net [213.165.64.23]) by open-mesh.net (Postfix) with SMTP id 38C9E1542A7 for ; Sat, 4 Sep 2010 18:30:51 +0200 (CEST) Received: (qmail invoked by alias); 04 Sep 2010 16:30:49 -0000 Received: from i59F6A2A6.versanet.de (EHLO sven-desktop.lazhur.ath.cx) [89.246.162.166] by mail.gmx.net (mp011) with SMTP; 04 Sep 2010 18:30:49 +0200 X-Authenticated: #15668376 X-Provags-ID: V01U2FsdGVkX19vaLUALDBvzKYCvcOXOTuE0PanobUeHWSm2i3moI 8fi4SjldOOIgOA From: Sven Eckelmann To: b.a.t.m.a.n@lists.open-mesh.org Date: Sat, 4 Sep 2010 18:30:51 +0200 Message-Id: <1283617851-29956-1-git-send-email-sven.eckelmann@gmx.de> X-Mailer: git-send-email 1.7.1 X-Y-GMX-Trusted: 0 Subject: [B.A.T.M.A.N.] [PATCH] batman-adv: Add missing include for bat_sys.h X-BeenThere: b.a.t.m.a.n@lists.open-mesh.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Sep 2010 16:30:51 -0000 soft_interface.c needs sysfs_add_meshif and sysfs_del_meshif after "batman-adv: attach each hard-interface to a soft-interface". This Include is provided indirectly using compat.h on standalone sources, but missing on kernel builds. We should add it directly as the compat.h include is only a side effect we cannot rely on. Signed-off-by: Sven Eckelmann --- batman-adv/soft-interface.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/batman-adv/soft-interface.c b/batman-adv/soft-interface.c index 38134ae..28bd6a2 100644 --- a/batman-adv/soft-interface.c +++ b/batman-adv/soft-interface.c @@ -31,6 +31,7 @@ #include "gateway_common.h" #include "gateway_client.h" #include "send.h" +#include "bat_sysfs.h" #include #include #include