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 changed files with 1 additions and 0 deletions
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 a new issue