Hi Mike, On Fri, 30 Aug 2024, mpagano@xxxxxxxxxx wrote:
From: Mike Pagano <mpagano@xxxxxxxxxx> basename(3) is defined in libgen.h in MUSL. Include libgen.h where basename(3) is used.
Patch is applied in the ipset git tree, thank you. Best regards, Jozsef
Signed-off-by: Mike Pagano <mpagano@xxxxxxxxxx> --- src/ipset.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ipset.c b/src/ipset.c index 162f477..d7733bf 100644 --- a/src/ipset.c +++ b/src/ipset.c @@ -15,6 +15,7 @@ #include <config.h> #include <libipset/ipset.h> /* ipset library */ #include <libipset/xlate.h> /* translate to nftables */ +#include <libgen.h> int main(int argc, char *argv[]) -- 2.46.0