batctl fails to build with musl, mostly because of somewhat weird netinet/*.h headers musl provides, but the problem turns out to be easy to fix.
The changes follow this series: https://lists.open-mesh.org:443/pipermail/b.a.t.m.a.n/2015-April/012960.html https://lists.open-mesh.org:443/pipermail/b.a.t.m.a.n/2015-April/012961.html https://lists.open-mesh.org:443/pipermail/b.a.t.m.a.n/2015-April/012962.html https://lists.open-mesh.org:443/pipermail/b.a.t.m.a.n/2015-April/012963.html