fixes implicit declaration warning on musl Signed-off-by: lemmi <lemmi(a)nerd2nerd.org> --- passt.c | 1 + 1 file changed, 1 insertion(+) 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 -- 2.45.0
On Sat, May 11, 2024 at 05:45:42PM +0200, lemmi wrote:fixes implicit declaration warning on musl Signed-off-by: lemmi <lemmi(a)nerd2nerd.org>Reviewed-by: David Gibson <david(a)gibson.dropbear.id.au>--- passt.c | 1 + 1 file changed, 1 insertion(+) 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-- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson
On Sat, 11 May 2024 17:45:42 +0200 lemmi <lemmi(a)nerd2nerd.org> wrote:fixes implicit declaration warning on musl Signed-off-by: lemmi <lemmi(a)nerd2nerd.org>Applied, thanks, and notified Chimera Linux maintainers that they can drop their patch too: https://github.com/chimera-linux/cports/blob/master/contrib/passt/patches/b… at the next release. -- Stefano