plugins: fix build on some glibc systems
authorDaniel Golle <daniel@makrotopia.org>
Fri, 15 May 2015 19:32:35 +0000 (21:32 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 15 May 2015 19:32:35 +0000 (21:32 +0200)
commit639069c5ff291491f61fb5c68c348595e12adde3
treebaa8b36f6fb4691d0e202f65e0c325e10e95ab91
parent0cda678c41f2424f0496405088b8e53148a21f1e
plugins: fix build on some glibc systems

The previous commit was made under the assumption that all
versions of glibc provides both definitions of struct udphdr.
This doesn't seem to be true, thus test for __GLIBC__ (which
is set by uClibc as well) to be on the safe side.

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