aboutgitcodebugslistschat
path: root/passt.c
diff options
context:
space:
mode:
authorlemmi <lemmi@nerd2nerd.org>2024-05-11 17:45:42 +0200
committerStefano Brivio <sbrivio@redhat.com>2024-05-13 23:00:52 +0200
commit26c71db332fa916fab6faef9dd9833f3d5749ca6 (patch)
tree1a6f31d0745e77359ca58786791d3ef71f6a7963 /passt.c
parent623c2fd621e79f8a6e4d260d2dbfad1ce0f4e8fc (diff)
downloadpasst-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>
Diffstat (limited to 'passt.c')
-rw-r--r--passt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/passt.c b/passt.c
index e93b6be..771b8a7 100644
--- a/passt.c
+++ b/passt.c
@@ -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