Commit Graph

2 Commits

Author SHA1 Message Date
Jo-Philipp Wich bc4d049918 libnet-1.2.x: fix uClibc regression caused by #1410
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-29 18:00:44 +02:00
Jo-Philipp Wich e4925c1efd 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>
2015-06-17 23:36:41 +02:00