[Olsr-dev] [PATCH] plugins: fix build with musl
Henning Rogge
(spam-protected)
Fri May 15 23:17:12 CEST 2015
On Fri, May 15, 2015 at 11:02 PM, Daniel Golle <(spam-protected)> wrote:
> Hi!
>
> On Fri, May 15, 2015 at 10:50:24PM +0200, Henning Rogge wrote:
>> Wow,
>>
>> this was A LOT of activity...
>>
>> is there a special reason why musl does not use the same headers as
>> the other libraries?
>
> The conflicting definitions seem to stem from *BSD vs. GNU systems.
> glibc defines them both:
> --- netinet/udp.h
> /* UDP header as specified by RFC 768, August 1980. */
*facepalm* (about gnu and bsd)
What do you think about just defining our OWN "udp header struct" for
the plugin?
The definition of it is neither POSIX, nor GNU, not BSD... its in an
IETF RFC. Instead of guessing what the system include is doing, lets
just ignore the whole thing.
Its not that the UDP header is complex. ;)
Henning
More information about the Olsr-dev
mailing list