This patchset enables kvmtool to build on musl-libc. I have also tested that it still builds on glibc. Signed-off-by: J. Neuschäfer <j.neuschaefer@xxxxxxx> --- J. Neuschäfer (2): Get basename() from <libgen.h> for musl compat Get __WORDSIZE from <sys/reg.h> for musl compat include/linux/bitops.h | 2 +- vfio/core.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) --- base-commit: ca31abf5d9c3453c852b263ccb451751b29b944b change-id: 20240727-musl-853c66deb931 Best regards, -- J. Neuschäfer <j.neuschaefer@xxxxxxx>