From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Sven Eckelmann Date: Mon, 20 Apr 2015 09:27:52 +0200 Message-ID: <4145450.XzhjfAJEYi@bentobox> In-Reply-To: <0516b7e4ce841146f759473be197ce252878f8ec.1428329893.git.alex.suykov@gmail.com> References: <0516b7e4ce841146f759473be197ce252878f8ec.1428329893.git.alex.suykov@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [B.A.T.M.A.N.] [PATCH v2 2/2] batctl: use netinet/if_ether.h instead of linux/if_ether.h 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: , To: b.a.t.m.a.n@lists.open-mesh.org On Monday 06 April 2015 17:29:13 Alex Suykov wrote: > 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