mirror of
https://github.com/openwrt/routing.git
synced 2025-02-19 15:16:19 +00:00
Fixed compilation with newer libubox. libubox added a sys/stat.h include, which happens to break compilation. The reason being __unused is a variable in musl and an attribute here. Fixed by undefining right before including the headers. Clean up Makefile for consistency between packages. Refreshed patches. Signed-off-by: Rosen Penev <rosenp@gmail.com>