Resend: [PATCH] Fix libiproute build with kernel headers older than 2.6.17
Denys Vlasenko
vda.linux at googlemail.com
Sat Feb 26 19:12:25 UTC 2011
On Saturday 26 February 2011 11:52, Stefan Seyfried wrote:
> On Mon, 21 Feb 2011 17:45:49 +0100
> Stefan Seyfried <stefan.seyfried at googlemail.com> wrote:
>
> > Hi,
> >
> > the attached patch fixes the build if your kernel headers happen to be
> > older than 2.6.17, which is when IFLA_OPERSTATE was introduced.
> >
> > Unfortunately, IFLA_OPERSTATE is not a define, so I can't check it with
> > #ifdef. However, IFF_DORMANT is a define and was introduced with the very
> > same commit, so we might be safe.
> >
> > A comment explaining this situation is in place.
>
> From cda685fa074ffbd324d752c11de596db8ffbbe64 Mon Sep 17 00:00:00 2001
> From: Stefan Seyfried <seife+dev at b1-systems.com>
> Date: Mon, 21 Feb 2011 17:29:59 +0100
> Subject: [PATCH] fix libiproute compile with kernel headers < 2.6.17
>
> Signed-off-by: Stefan Seyfried <seife+dev at b1-systems.com>
Applied, thanks!
--
vda
More information about the busybox
mailing list