ls, tar: Guard inclusion of sys/sysmacros.h by absence of `major` definition
Since musl 1.1.23, it too does not provide `major` and `minor` through sys/types.h, so instead include sys/sysmacros.h based on the absence of `major` rather than only on glibc. Thanks to Rich Felker for the suggestion.master
parent
7315b8686f
commit
39f92650d3
Loading…
Reference in New Issue