[PATCH 6.8 399/399] tools/resolve_btfids: fix build with musl libc