diff options
author | lemmi <lemmi@nerd2nerd.org> | 2024-05-11 17:45:42 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2024-05-13 23:00:52 +0200 |
commit | 26c71db332fa916fab6faef9dd9833f3d5749ca6 (patch) | |
tree | 1a6f31d0745e77359ca58786791d3ef71f6a7963 | |
parent | 623c2fd621e79f8a6e4d260d2dbfad1ce0f4e8fc (diff) | |
download | passt-26c71db332fa916fab6faef9dd9833f3d5749ca6.tar passt-26c71db332fa916fab6faef9dd9833f3d5749ca6.tar.gz passt-26c71db332fa916fab6faef9dd9833f3d5749ca6.tar.bz2 passt-26c71db332fa916fab6faef9dd9833f3d5749ca6.tar.lz passt-26c71db332fa916fab6faef9dd9833f3d5749ca6.tar.xz passt-26c71db332fa916fab6faef9dd9833f3d5749ca6.tar.zst passt-26c71db332fa916fab6faef9dd9833f3d5749ca6.zip |
passt.c: explicitly include libgen.h for basename
fixes implicit declaration warning on musl
Signed-off-by: lemmi <lemmi@nerd2nerd.org>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
-rw-r--r-- | passt.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -35,6 +35,7 @@ #include <syslog.h> #include <sys/prctl.h> #include <netinet/if_ether.h> +#include <libgen.h> #ifdef HAS_GETRANDOM #include <sys/random.h> #endif |