mbox series

[kvmtool,v2,0/2] Fix compilation with musl-libc based toolchains

Message ID 20240727-musl-v2-0-b106252a1cba@gmx.net (mailing list archive)
Headers show
Series Fix compilation with musl-libc based toolchains | expand

Message

J. Neuschäfer July 27, 2024, 5:11 p.m. UTC
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@gmx.net>
---
Changes in v2:
- Be explicit about GNU vs. POSIX versions of basename
- Link to v1: https://lore.kernel.org/r/20240727-musl-v1-0-35013d2f97a0@gmx.net

---
J. Neuschäfer (2):
      Switch to POSIX version of basename()
      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@gmx.net>