openwrt-routing/batman-adv
Hendrik Borghorst 47436b04fd batman-adv: Prevent use from libc headers to not build with BIG_ENDIAN
Commit 97d35a552ec5b6ddf7923dd2f9a8eb973526acea of musl introduced the
macros __LITTLE_ENDIAN and __BIG_ENDIAN in alltypes.h. These are pulled
into the compilation of batman-adv. This has the side effect that the
function is_multicast_ether_addr of etherdevice.h in Linux kernel is
compiled as the big endian version and so fails to work properly on
little endian devices.

This commits prevents pulling in header files of musl libc similar to
OpenWRT commit 9ac47ee46918c45b91f4e4d1fa76b1e26b9d57fe

Signed-off-by: Hendrik Borghorst <hendrikborghorst@gmail.com>
(cherry picked from commit 523821c195)
Signed-off-by: Sven Eckelmann <sven@narfation.org>
2021-11-27 15:16:12 +01:00
..
files batman-adv: upgrade package to latest release 2020.3 2020-08-25 20:09:34 +02:00
patches batman-adv: Merge bugfixes from 2021.4 2021-11-19 17:05:03 +01:00
src batman-adv: Drop compat code for Linux < 5.4 2021-01-28 21:05:35 +01:00
Config.in batman-adv: upgrade package to latest release 2021.0 2021-01-28 21:08:27 +01:00
Makefile batman-adv: Prevent use from libc headers to not build with BIG_ENDIAN 2021-11-27 15:16:12 +01:00