[Cake] Fixing iproute2 compile

Kevin Darbyshire-Bryant kevin at darbyshire-bryant.me.uk
Wed Oct 21 06:31:18 EDT 2015



On 20/10/15 16:38, Toke Høiland-Jørgensen wrote:
> Kevin Darbyshire-Bryant <kevin at darbyshire-bryant.me.uk> writes:
>
>> iproute2 commit 6256f8c9e45f01187b297a576e148534a393c990 introduced a
>> backup definition of 'offsetof' macro in utils.h presumably to cover
>> the case where it wasn't defined elsewhere. Anything post that
>> iproute2 commit (Dave's tc-adv repo as example) will have this macro
>> defined courtesy 'utils.h'.
> Okay, so I just merged the net-next upstream branch of iproute2 into the
> cake repository. It now builds for me on both Debian Wheezy (i.e.
> ancient) and Arch Linux (i.e. fairly recent).
>
> -Toke
It builds here now on Mint too :-)

I still think including <stddef.h> in q_cake.c is the most sanitary way
to go.  gcc for example does its own version of the 'offsetof' macro.

Who do I ask and how do I go about commit access to kau.toke.dk ;-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4816 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.bufferbloat.net/pipermail/cake/attachments/20151021/8eda2b0c/attachment-0002.bin>


More information about the Cake mailing list