libnet-1.2.x: fix musl compatiblity 1410/head
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 17 Jun 2015 21:31:40 +0000 (23:31 +0200)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 17 Jun 2015 21:36:41 +0000 (23:36 +0200)
commite4925c1efdd4b8caf8f19c8c3b2aba544459863b
tree34c83116a2474afe22e0dbd70f3d9e54304b4e31
parent4116e327afee80aaea33a16358f5f7c0da687bec
libnet-1.2.x: fix musl compatiblity

The correct includes for musl are protected by an __GLIBC__ check in the
upstream sources.

Since musl does not provide own defines to identify itself, simply invert
the condition to !__UCLIBC__ in order to fix the build on all libc flavors
supported by OpenWrt.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
libs/libnet-1.2.x/Makefile
libs/libnet-1.2.x/patches/100-musl-compat.patch [new file with mode: 0644]