From patchwork Mon Apr 6 14:29:13 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Suykov X-Patchwork-Id: 4440 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=209.85.215.46; helo=mail-la0-f46.google.com; envelope-from=alex.suykov@gmail.com; receiver=b.a.t.m.a.n@lists.open-mesh.org Received: from mail-la0-f46.google.com (mail-la0-f46.google.com [209.85.215.46]) by open-mesh.org (Postfix) with ESMTPS id 9F763600E7B for ; Mon, 6 Apr 2015 16:29:20 +0200 (CEST) Received: by layy10 with SMTP id y10so20879323lay.0 for ; Mon, 06 Apr 2015 07:29:20 -0700 (PDT) X-Received: by 10.112.46.74 with SMTP id t10mr13708155lbm.73.1428330560075; Mon, 06 Apr 2015 07:29:20 -0700 (PDT) Received: from localhost ([188.163.76.54]) by mx.google.com with ESMTPSA id tp10sm350896lbb.4.2015.04.06.07.29.19 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Apr 2015 07:29:19 -0700 (PDT) Date: Mon, 6 Apr 2015 17:29:13 +0300 From: Alex Suykov To: b.a.t.m.a.n@lists.open-mesh.org Message-ID: <0516b7e4ce841146f759473be197ce252878f8ec.1428329893.git.alex.suykov@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Subject: [B.A.T.M.A.N.] [PATCH v2 2/2] batctl: use netinet/if_ether.h instead of linux/if_ether.h X-BeenThere: b.a.t.m.a.n@lists.open-mesh.org X-Mailman-Version: 2.1.15 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: Mon, 06 Apr 2015 14:29:20 -0000 musl does not allow including netinet/* and linux/* headers together. batctl includes netinet/if_ether.h indirectly via net/ethernet.h, so netinet/if_ether.h must be used instead of linux/if_ether.h. Signed-off-by: Alex Suykov Acked-by: Sven Eckelmann --- v2: updated to work with #include in packet.h introduced by https://lists.open-mesh.org:443/pipermail/b.a.t.m.a.n/2015-April/012961.html and ported to batctl by patch 1/2 in this set. ping.c | 2 +- tcpdump.h | 2 +- traceroute.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ping.c b/ping.c index bdca222..7880a82 100644 --- a/ping.c +++ b/ping.c @@ -34,7 +34,7 @@ #include #include #include -#include +#include #include "main.h" #include "ping.h" diff --git a/tcpdump.h b/tcpdump.h index 5d936f2..3c9126c 100644 --- a/tcpdump.h +++ b/tcpdump.h @@ -23,7 +23,7 @@ #define _BATCTL_TCPDUMP_H #include -#include +#include #include #include #include "main.h" diff --git a/traceroute.c b/traceroute.c index 4ebfec2..373fe90 100644 --- a/traceroute.c +++ b/traceroute.c @@ -22,13 +22,13 @@ #include +#include #include #include #include #include #include #include -#include #include #include #include