petitboot
petitboot copied to clipboard
Include <libgen.h> when using basename()
basename() is part of libgen.h in POSIX, so import it before using.
This fixes the build on musl libc with gcc 15+.