diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2025-03-19 20:43:47 +0100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2025-03-20 05:50:49 +0100 |
commit | 07c2d584b334b0c405a5702a4f2fad104d03940b (patch) | |
tree | f416f2aab49e37ac8570ae7aa8b4002fd09a0e1d | |
parent | ebdd46367ce1acba235013d97e362b8677b538d5 (diff) | |
download | passt-07c2d584b334b0c405a5702a4f2fad104d03940b.tar passt-07c2d584b334b0c405a5702a4f2fad104d03940b.tar.gz passt-07c2d584b334b0c405a5702a4f2fad104d03940b.tar.bz2 passt-07c2d584b334b0c405a5702a4f2fad104d03940b.tar.lz passt-07c2d584b334b0c405a5702a4f2fad104d03940b.tar.xz passt-07c2d584b334b0c405a5702a4f2fad104d03940b.tar.zst passt-07c2d584b334b0c405a5702a4f2fad104d03940b.zip |
conf: Include libgen.h for basename(), fix build against musl
Fixes: 4b17d042c7e4 ("conf: Move mode detection into helper function")
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
-rw-r--r-- | conf.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -16,6 +16,7 @@ #include <errno.h> #include <fcntl.h> #include <getopt.h> +#include <libgen.h> #include <string.h> #include <sched.h> #include <sys/types.h> |