Re: NetworkManager refuses to compile with wireless-tools pre10

> On Mon, 2005-10-17 at 15:56 -0400, Robert Love wrote:
> It seems that <linux/*.h> and <net/*.h> are defining the same if*
> structures, and somehow wireless-tools 28pre10 are pulling in both.  I
> just noticed it and have not dived in deep, yet.

Yes. <iwlib.h> (at the top) is pulling in <net/if.h>, while
<linux/mii.h> (near the bottom, for MII capability detection) is pulling
in <linux/if.h>.

Possible fix is to define HEADERS_KERNEL when including iwlib.h (it
works, but is it right?). That or split out MII capability detection
into its own compilation unit.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]