mirror of
https://passt.top/passt
synced 2024-12-22 21:55:22 +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:
parent
623c2fd621
commit
26c71db332
1
passt.c
1
passt.c
@ -35,6 +35,7 @@
|
|||||||
#include <syslog.h>
|
#include <syslog.h>
|
||||||
#include <sys/prctl.h>
|
#include <sys/prctl.h>
|
||||||
#include <netinet/if_ether.h>
|
#include <netinet/if_ether.h>
|
||||||
|
#include <libgen.h>
|
||||||
#ifdef HAS_GETRANDOM
|
#ifdef HAS_GETRANDOM
|
||||||
#include <sys/random.h>
|
#include <sys/random.h>
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user