On Tue, 07.04.15 23:05, Alexander Sverdlin ([email protected]) wrote:
> Fixes the following compilation problem:
> src/libsystemd/sd-rtnl/rtnl-types.c:361:9: error: array index in initializer
> exceeds array bounds
> [IFA_FLAGS] = { .type = NLA_U32 },
> ^
> src/libsystemd/sd-rtnl/rtnl-types.c:361:9: error: (near initialization for
> 'rtnl_address_types')
>
> Also include if_addr.h into missing.h so that it's possible to
> redefine __IFA_MAX.
I feel a bit uneasy about changing definitions from the header
files. Adding is fine, but altering them is something we should be
carefuly with. Hence I commited a different fix now:
http://cgit.freedesktop.org/systemd/systemd/commit/?id=de79f906ab614dd0d53129c4d4aa18a964864f39
Please test!
Lennart
--
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel