1
0
mirror of https://passt.top/passt synced 2024-12-22 13:45:32 +00:00

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>
This commit is contained in:
lemmi 2024-05-11 17:45:42 +02:00 committed by Stefano Brivio
parent 623c2fd621
commit 26c71db332

View File

@ -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