plugins: fix build with musl
authorDaniel Golle <daniel@makrotopia.org>
Fri, 15 May 2015 17:06:56 +0000 (19:06 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 15 May 2015 17:06:56 +0000 (19:06 +0200)
commit0cda678c41f2424f0496405088b8e53148a21f1e
tree552b228412d7dedd605dfd609fd9137f4c69253f
parent44b80f7fc03a2db5b0b82ae496bbc78b38aaad92
plugins: fix build with musl

Introduce checks for __UCLIBC__ to compensate for
incompatible definitions of struct udphdr present in
different libc.
glibc provides both field nameing styles, afaik all
libcs except for uClibc provide the POSIX definition.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
lib/bmf/src/Address.c
lib/bmf/src/Bmf.c
lib/bmf/src/NetworkInterfaces.c
lib/mdns/src/mdns.c
lib/p2pd/src/p2pd.c